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

KAFKAREST_OPTS is not being used while ensuring that kafka cluster is up and ready #39

Open
infoankitp opened this issue Jul 7, 2023 · 0 comments

Comments

@infoankitp
Copy link

So, basically if we are passing the KAFKAREST_OPTS as suggested here:
https://docs.confluent.io/platform/current/kafka-rest/production-deployment/rest-proxy/security.html#authentication-between-crest-and-ak-brokers

While the ensure bash file runs, this env variable is not taken into account and kafka cluster validation fails even before starting the application server for kafka rest proxy.

https://github.com/confluentinc/confluent-docker-utils/blob/master/confluent/docker_utils/cub.py#L149-L205

One quick way of solving it can be to pick up other values in check_kafka_ready() function, but it seems I am not sure about its usage at multiple other places. However, kafka-rest's deployment fails on only passing the KAFKAREST_OPTS. We have to add one more env variable KAFKA_OPTS for the same as a workaround.

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