-
Notifications
You must be signed in to change notification settings - Fork 4.5k
aws-lambda-event-sources: Add new config feature for group id to SelfManagedKafkaEventSource #21734
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-lambda-event-sourcesfeature-requestA feature should be added or improved.A feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.
Description
Describe the feature
Can we add the new option to set the group id ("SelfManagedKafkaEventSourceConfig" now also supported by Cloud Formation), to the SelfManagedKafkaEventSource?
Use Case
In our company, the group ID is used in ACLs to restrict access and for logging. A UUID is not very meaningful. It also has to be updated in the ACLs every time a change of the EventSourceMapping requires a redeployment.
Proposed Solution
Add a new optional argument to the SelfManagedKafkaEventSource constructor:
const kafkaSource = new SelfManagedKafkaEventSource({
topic: '...',
bootstrapServers: ['...','...'],
groupId: '...' // 👈
});
Other Information
The new property might be too new. It is not yet there in CfnEventSourceMappingProps.
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.38.1
Environment details (OS name and version, etc.)
Linux Ubuntu 22.04.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-lambda-event-sourcesfeature-requestA feature should be added or improved.A feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.