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

Add SASL fields support for Kafka Logging Endpoint #226

Merged
merged 2 commits into from
Oct 28, 2020

Conversation

kellymclaughlin
Copy link
Contributor

Add the following fields in order to support SASL:

  • parse_log_keyvals
  • auth_method
  • request_max_bytes
  • user
  • password

Add the following fields in order to support SASL:

* parse_log_keyvals
* auth_method
* request_max_bytes
* user
* password
Copy link
Contributor

@mccurdyc mccurdyc left a 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

Comment on lines +32 to +36
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"`
Copy link
Member

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.

Copy link
Contributor Author

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.

@kellymclaughlin
Copy link
Contributor Author

@mccurdyc or @phamann I don't have permissions to merge this. If it looks good would one of you mind merging it for me? Thanks!

@mccurdyc mccurdyc merged commit a2247a0 into fastly:master Oct 28, 2020
@mccurdyc mccurdyc added the enhancement New feature or request label Oct 28, 2020
@mccurdyc mccurdyc mentioned this pull request Oct 28, 2020
@mccurdyc mccurdyc changed the title go-fastly support for kafka endpoint sasl options Add SASL field support for Kafka Logging Endpoint Oct 28, 2020
@mccurdyc mccurdyc changed the title Add SASL field support for Kafka Logging Endpoint Add SASL fields support for Kafka Logging Endpoint Oct 28, 2020
@kellymclaughlin kellymclaughlin deleted the kelly/add-kafka-sasl-fields branch October 28, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants