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

#795 增加kafka sasl权限认证;SASLMechanism 目前仅支持PLAIN、SCRAM-SHA-256、SCRAM-SHA-512 #820

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

renheqiang
Copy link

增加kafka sasl权限认证;SASLMechanism 目前仅支持PLAIN、SCRAM-SHA-256、SCRAM-SHA-512

@CLAassistant
Copy link

CLAassistant commented May 18, 2023

CLA assistant check
All committers have signed the CLA.

@renheqiang renheqiang changed the title 增加kafka sasl权限认证;SASLMechanism 目前仅支持PLAIN、SCRAM-SHA-256、SCRAM-SHA-512 #795 增加kafka sasl权限认证;SASLMechanism 目前仅支持PLAIN、SCRAM-SHA-256、SCRAM-SHA-512 May 18, 2023
@renheqiang
Copy link
Author

Description
增加kafka开启了sasl权限认证时的连接,在配置文件可配置如下参数
当tunnel为kafka,增加了

# 是否开启sasl,默认为false
tunnel.kafka.sasl.enable = true 
# 配置用户名密码 
tunnel.kafka.sasl.auth = {username}@{password} 
# 配置sasl.mechanism的方式,目前支持PLAIN、SCRAM-SHA-256、SCRAM-SHA-512。
tunnel.sasl.mechanism = SCRAM-SHA-256 

@zhangst
Copy link
Collaborator

zhangst commented May 19, 2023

感谢贡献代码,会在下一个版本中合并

@Neustradamus
Copy link

Linked to:

1、tunnel.kafka.compression,默认none,支持gzip,snappy,lz4,zstd
2、tunnel.kafka.producer.maxmessagebytes,默认18M,由于kafka传输不是单挑写入,同一批次可能会超过18M,故将此参数开放出来
@renheqiang
Copy link
Author

renheqiang commented Aug 16, 2023

增加kafka参数;
1、tunnel.kafka.compression,默认none,支持压缩gzip,snappy,lz4,zstd
2、tunnel.kafka.producer.maxmessagebytes,默认18M,由于kafka传输不是单条写入,同一批次可能会超过18M,故将此参数开放出来

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

Successfully merging this pull request may close these issues.

4 participants