-
Notifications
You must be signed in to change notification settings - Fork 4.4k
(lambda-event-sources): AuthenticationMethod: BASIC_AUTH is not supported for self-managed Kafka event source #16710
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-lambda-event-sourceseffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2
Description
Currently we can only choose SASL_SCRAM_512_AUTH and SASL_SCRAM_256_AUTH AuthenticationMethod for self-managed Kafka event source.
aws-cdk/packages/@aws-cdk/aws-lambda-event-sources/lib/kafka.ts
Lines 43 to 52 in d6afdaf
| export enum AuthenticationMethod { | |
| /** | |
| * SASL_SCRAM_512_AUTH authentication method for your Kafka cluster | |
| */ | |
| SASL_SCRAM_512_AUTH = 'SASL_SCRAM_512_AUTH', | |
| /** | |
| * SASL_SCRAM_256_AUTH authentication method for your Kafka cluster | |
| */ | |
| SASL_SCRAM_256_AUTH = 'SASL_SCRAM_256_AUTH', | |
| } |
However, there is another authentication method supported, which is BASIC_AUTH. You can see it here.
What did you expect to happen?
We should be able to choose BASIC_AUTH as an authentication method.
What actually happened?
Currently we cannot choose BASIC_AUTH as it's not defined in the enum.
Environment
- CDK CLI Version : 1.124.0
- Framework Version: 1.124.0
- Node.js Version: v14.16.1
- OS : windows
- Language (Version): TypeScript
Other
This is 🐛 Bug Report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-lambda-event-sourceseffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2