-
Notifications
You must be signed in to change notification settings - Fork 7
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
Enable Broker Authentication usign SASL mechanism #43
Conversation
f32ec31
to
65a3af7
Compare
@rmarting I've looked into this. The issue is that Connect can't connect to zk and the brokers:
Do you have an idea on what's going wrong here? |
I think, it is related to the authentication mechanism used by Kafka connect againts the Kafka Broker. If I am not wrong, that issue is because the Kafka connect is using Please, review the way you are configuring the Kafka broker, and then Kafka connect must use the same configuration. If the property Can you share your playbook to deploy the kafka broker (with authentication), and the kafka connect cluster? |
@rmarting I'm testing your PR ! So it's your setup :) It's running the playbooks/playbook.yml and it's using default from the two other roles (zk and brokers) to setup the rest of the cluster. |
Ok! Let me review my original PR with the default playbook, as it seems that the Kafka connect is failing the authentication ... so maybe there is something wrong! Thanks for the heads up! |
Last question, could you share here the content of the |
It's the one based on the templates in the collection: roles/amq_streams_connect/templates/connect-standalone.properties.j2 I'm running the PR locally so I can post here the resulting file. |
And here is the resulting conf:
|
By default the variable
So, I think that the issue is because the if clause is not well declare to skip that section. I tested with the following commit in my original PR for your review and test with this branch. The file must not include anything related to authentication, as the default values are |
6b8c2f8
to
2255aa7
Compare
Thanks @rpelisse for your review, and extended contributions to close this amazing PR. It is a huge step in the collection to cover more complex scenarios. |
Superseeds #35