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

[FLINK-31986][Connectors/Kinesis] Setup integration tests for FLIP-27 Kinesis source #172

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

elphastori
Copy link
Contributor

Purpose of the change

Sets up Integrations tests for the FLIP-27 DataStreams API Kinesis source

Verifying this change

This change added tests and can be verified as follows:

  • Added integration tests for end-to-end deployment
  • Added unit tests

@elphastori elphastori changed the title [FLINK-31986][Connectors/Kinesis] Setup integration tests for source [FLINK-31986][Connectors/Kinesis] Setup integration tests for FLIP-27 Kinesis source Sep 27, 2024
Comment on lines +125 to +130
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<scope>test</scope>
</dependency>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we test using s3? Can we use kinesis instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are actually testing Kinesis only. The S3 dependency is required because the LocalStack container in the connector base arbitrarily creates an S3 bucket and lists its contents to test readiness. LocalstackContainer.java#L61-L83

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right - thanks!

Copy link
Contributor

@hlteoh37 hlteoh37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @elphastori . Added some comments

Copy link
Contributor

@hlteoh37 hlteoh37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @elphastori

@hlteoh37 hlteoh37 merged commit b681cfc into apache:main Oct 4, 2024
9 checks passed
Copy link

boring-cyborg bot commented Oct 4, 2024

Awesome work, congrats on your first merged pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants