-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add SASL fields support for Kafka Logging Endpoint #226
Add SASL fields support for Kafka Logging Endpoint #226
Conversation
Add the following fields in order to support SASL: * parse_log_keyvals * auth_method * request_max_bytes * user * password
be1a588
to
0d0eeff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. I checked out the branch and ran the tests
ParseLogKeyvals bool `mapstructure:"parse_log_keyvals"` | ||
RequestMaxBytes uint `mapstructure:"request_max_bytes"` | ||
AuthMethod string `mapstructure:"auth_method"` | ||
User string `mapstructure:"user"` | ||
Password string `mapstructure:"password"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit, the project convention is to keep the metadata fields CreatedAt
etc as the last in the struct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I fixed that up.
Add the following fields in order to support SASL: