Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Demos-Collection] Encourage and Collect Demo Contributions #8388

Open
davidzollo opened this issue Dec 26, 2024 · 0 comments
Open

[Demos-Collection] Encourage and Collect Demo Contributions #8388

davidzollo opened this issue Dec 26, 2024 · 0 comments

Comments

@davidzollo
Copy link
Contributor

davidzollo commented Dec 26, 2024

🎯 Collecting Use Case Demos for Apache SeaTunnel

Dear Apache SeaTunnel community members,

We are initiating a community effort to collect real-world use case demos to enrich our documentation and help more users quickly get started and solve their problems with Apache SeaTunnel! 🚀

Why are these demos important?

Many users encounter unique scenarios while using SeaTunnel. By collecting and maintaining these demos, we can:

  • Help newcomers: Showcase the broad range of use cases supported by SeaTunnel.
  • Provide quick-start solutions: Offer ready-made templates to reduce troubleshooting time.
  • Foster community collaboration: Enable others to build and improve upon these examples.

What can you contribute?

1. Share your specific use case:

  • Scenario Description: What problem did you solve?
  • SeaTunnel Version: The version you were using.
  • Configuration or Code Snippet: Key configuration or scripts.
  • Outcome: A brief description of the result.

2. Submit a complete demo:

  • Organize your configuration files, sample datasets, and documentation into a complete demo.
  • Submit a PR to the demos/ directory in the SeaTunnel repository.

3. Share ideas even without a demo:

  • If you don't have a complete demo, feel free to share your ideas here. We will help organize and improve them.

Example:

  • Scenario: Batch Single Table Synchronization from MySQL to MySQL
  • SeaTunnel Version: 2.3.8
  • Configuration:
env {
    job.name = "mysql_to_elasticsearch"
    job.mode = "BATCH"
    parallelism = 6
}

source {
    Jdbc {
        url = "jdbc:mysql://xxx:3306/source_db"
        driver = "com.mysql.cj.jdbc.Driver"
        user = "test_user"
        password = "test_pwd"

        table_list = [
            {
                query = "select * from source_db.t1"
                table_path = "source_db.t1"
            }
        ]
        result_table_name = "my-source-1"
    }
}

sink {
    Jdbc {
        source_table_name = "my-source-1"
        url = "jdbc:mysql://localhost:3306/sink_db"
        driver = "com.mysql.cj.jdbc.Driver"
        user = "test_user"
        password = "test_pwd"

        database = "sink_db"
        table = "${table_name}_copy"
        generate_sink_sql = true
        batch_size = 1000

        schema_save_mode = "RECREATE_SCHEMA"
        data_save_mode = "KEEP_SCHEMA_DROP_DATA"
    }
}

🎯 Calling All Users!

We’re collecting amazing demos for the project to showcase features and improve the experience! 🎉

📌 Why Your Contribution Matters!

  • Why contribute?Your demo could become part of the official examples, helping more developers get started quickly!
  • How to contribute? Submit your demo in the comment section—the more detailed, the better!

🔥 Show off your skills and join us in building a thriving community! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant