-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add JDBC examples #824
Comments
Providing these, as taken from the test code for a kick-off. Maybe we can leverage it ... Base configuration using Postgres, but should work in the same way for other DBs:
You need to provide a data source. This should setup the JDBC url, username and password. Here's an example from the test code:
The database insertion is handled by the body of the message and the rows will be resolved using Camel headers, such as:
|
Implement the TestDataSource is necessary? |
I believe you can do like we do in camel-sql connector |
Thanks. I will try it. |
Here is a little example: |
Done. |
to camel-kafka-connector-examples repo
The text was updated successfully, but these errors were encountered: