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

Discussion on scalability #92

Open
yansheng105 opened this issue Nov 2, 2020 · 2 comments
Open

Discussion on scalability #92

yansheng105 opened this issue Nov 2, 2020 · 2 comments

Comments

@yansheng105
Copy link

Hi erdemcer!

I noticed that only one oracle server seems to be configured in the OracleSourceConnector.properties file.
Can you consider using the configuration file in Yaml format to enable the connector to monitor multiple oracle servers at the same time? Perhaps you can also add the configuration file dynamic loading function so that you do not need to restart the connector after adding tables that need to be synchronized.

Thanks.

@yansheng105
Copy link
Author

A possible configuration file format is as follows:

name: oracle-logminer-connector
connector:
  class: com.ecer.kafka.connect.oracle.OracleSourceConnector
srcDataSources:
- instance: demo1
  database:
    name: orcl
    alias: oracle
    hostname: 192.168.40.12
    port: 1521
    user: kminer
    password: kminerpass
    fetch:
      size: 1
    table:
      whitelist: TEST.*
      blacklist:
    parse:
      dml:
        data: true
    reset:
      offset: true
    start:
      scn:
    multitenant: false
    tasks:
      max: 1
    topic: cdctest
    dml:
      types:
- instance: demo2
  database:
    name: orcl
    alias: oracle
    hostname: 192.168.40.13
    port: 1521
    user: kminer
    password: kminerpass
    fetch:
      size: 1
    table:
      whitelist: TEST.*
      blacklist:
    parse:
      dml:
        data: true
    reset:
      offset: true
    start:
      scn:
    multitenant: false
    tasks:
      max: 1
    topic: cdctest
    dml:
      types:

@yansheng105
Copy link
Author

@erdemcer If you can, I hope you can consider the above questions carefully, thank you very much!

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

No branches or pull requests

1 participant