-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore(lambda-event-sources): expose arn and id for self-managed kafka source #31442
Conversation
…urceMappingId for SelfManagedKafkaEventSource
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@@ -950,53 +999,27 @@ describe('KafkaEventSource', () => { | |||
|
|||
}); | |||
|
|||
test('consumerGroupId can be set for ManagedKafkaEventSource', () => { | |||
|
|||
test('eventSourceMappingArn and eventSourceMappingId are defined', () => { |
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.
can you add test cases for the exception if the event source is not bound yet.
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.
left a minor comment
could you please add a new GH issue as a Feature request, and link it to this issue. |
This PR has been in the CHANGES REQUESTED state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error. |
Comments on closed issues and PRs are hard for our team to see. |
Reason for this change
SelfManagedKafkaEventSource
doesn't currently expose theeventSourceMappingArn
oreventSourceMappingId
, which makes e.g. granting privileges to those resources difficult.Description of changes
I exposed the
eventSourceMappingArn
oreventSourceMappingId
the same way it is done on theManagedKafkaEventSource
Description of how you validated changes
The change is tested by adding similar unit tests to other event sources supporting this functionality.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license