[KAFKA-369] External secrets via ConfigProvider does not work in mongodb source connector Created: 12/May/23 Updated: 27/Oct/23 Resolved: 06/Jun/23 |
|
| Status: | Closed |
| Project: | Kafka Connector |
| Component/s: | Configuration |
| Affects Version/s: | 1.10.0 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Unknown |
| Reporter: | 재민 심 | Assignee: | Ross Lawley |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Environment On-Prem
Problem: I am trying to encrypt "connection.uri" configuration of mongodb source connector through Vault ConfigProvider.
My configuration is here
but I got the error
and I found similar issue. We have same problem. https://jira.mongodb.org/browse/KAFKA-322 https://github.com/mongodb/mongo-kafka/commit/121aa9d55a1b597a19250eaed9248f9b610a8da4
According to the report, It is known issue and fixed at version 1.10. We are using version 1.10 but we still get the same error.
Could this issue be checked? |
| Comments |
| Comment by Ross Lawley [ 06/Jun/23 ] | |||||
|
Thanks for updating the ticket with the cause. For future readers please ensure that the Kafka workers are configured correctly to use a ConfigProvider as its the worker configuration and not the connector configuration that has to declare the provider. All the best, Ross | |||||
| Comment by 재민 심 [ 18/May/23 ] | |||||
|
hello
| |||||
| Comment by 재민 심 [ 12/May/23 ] | |||||
|
Additionaly we are use vault token with ENVIRONMENT_VARIABLE. Other connectors are working fine.
And here is our souce connector version
| |||||
| Comment by PM Bot [ 12/May/23 ] | |||||
|
Hi sjm7267@gmail.com, thank you for reporting this issue! The team will look into it and get back to you soon. |