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

kafka支持账号密码配置么 #318

Open
chaishiqi opened this issue Dec 25, 2020 · 2 comments
Open

kafka支持账号密码配置么 #318

chaishiqi opened this issue Dec 25, 2020 · 2 comments

Comments

@chaishiqi
Copy link

RT,只看到以下几项环境变量

KAFKA_BROKERS "(required) kafka brokers"
KAFKA_DEFAULT_TOPIC "(optinal) default topic"
KAFKA_DEFAULT_PARTITION_KEY "(optianl) default partition key"
KAFKA_DEFAULT_MESSAGE_KEY "(optianl) default message key"
KAFKA_OUTPUT_DATA_TYPE "(optianl) output data type: json|ltsv|msgpack"
KAFKA_MAX_SEND_RETRIES "(optianl) the number of times to retry sending of messages to a leader, default is 1"
KAFKA_REQUIRED_ACKS "(optianl) the number of acks required per request, default is -1"
KAFKA_ACK_TIMEOUT "(optianl) how long the producer waits for acks, unit is seconds"

@huguiqi
Copy link

huguiqi commented Aug 5, 2021

用username和password的: ${KAFKA_USERNAME} ${KAFKA_PASSWORD}

@chaishiqi
Copy link
Author

好的谢谢

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

2 participants