-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(kafka): this adds SASL support to kafka alerts (#2677)
We added SASL support, and changed the kafka client to use sarama. There is a lot of code added to maintain compatability. We added SASL support, and changed the kafka client to use sarama. There is a lot of code added to maintain compatability. This adds the following fields to the kafka stanza: SASLUsername string `toml:"sasl-username" override:"sasl-username"` SASLPassword string `toml:"sasl-password" override:"sasl-password"` SASLMechanism string `toml:"sasl-mechanism" override:"sasl-mechanism"` SASLVersion *int `toml:"sasl-version" override:"sasl-version"` // GSSAPI config SASLGSSAPIServiceName string `toml:"sasl-gssapi-service-name" override:"sasl-gssapi-service-name"` SASLGSSAPIAuthType string `toml:"sasl-gssapi-auth-type" override:"sasl-gssapi-auth-type"` SASLGSSAPIDisablePAFXFAST bool `toml:"sasl-gssapi-disable-pafxfast" override:"sasl-gssapi-disable-pafxfast"` SASLGSSAPIKerberosConfigPath string `toml:"sasl-gssapi-kerberos-config-path" override:"sasl-gssapi-kerberos-config-path"` SASLGSSAPIKeyTabPath string `toml:"sasl-gssapi-key-tab-path" override:"sasl-gssapi-key-tab-path"` SASLGSSAPIRealm string `toml:"sasl-gssapi-realm" override:"sasl-gssapi-realm"` // OAUTHBEARER config. experimental. undoubtedly this is not good enough. SASLAccessToken string `toml:"sasl-access-token" override:"sasl-access-token"` Also, this fixes a long standing bug where our fnv-1a hasher was different from Sarama's
- Loading branch information
Showing
12 changed files
with
662 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.