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

Environment variable mapping to Kafka properties file variables. #266

Open
movedempackets opened this issue Apr 5, 2024 · 0 comments
Open

Comments

@movedempackets
Copy link

movedempackets commented Apr 5, 2024

I am using cp-kafka:7.5.3 I am interested as to the reason the environment variable KAFKA_SSL_KEYSTORE_FILENAME ends with _FILENAME and not _LOCATION it is not a valid variable. The same can also be said for _CREDENTIALS in place of _PASSWORD.

KAFKA_SSL_KEYSTORE_FILENAME is required
command [/usr/local/bin/dub ensure KAFKA_SSL_KEYSTORE_FILENAME] FAILED !

When following the rules it is confusing. The fact that this does not also apply uniformly is also unusual, the same endings for zookeeper SSL aren't used, and the correct location, and password are.

I also noticed areas in which following the rules did not have the intended outcome. For example, setting the zookeeper client connection socket, the properties variable is zookeeper.clientCnxnSocket, following the rules would produce KAFKA_ZOOKEEPER_CLIENTCNXNSOCKET, this is not recognized, whereas KAFKA_ZOOKEEPER_CLIENT_CNXN_SOCKET is. In other parts of the documentation such as zookeeper it explicitly says Separate each word with _.

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