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

E2E tests: allow to use an external kafka cluster #450

Merged
merged 12 commits into from
Sep 20, 2023

Conversation

nicoloboschi
Copy link
Member

No description provided.

@nicoloboschi nicoloboschi changed the title E2E tests: allow to use an external kafka cluster @nicoloboschi E2E tests: allow to use an external kafka cluster Sep 20, 2023
@@ -52,6 +52,12 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>langstream-kafka-runtime</artifactId>
Copy link
Member

Choose a reason for hiding this comment

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

please note that this is adding the kafka client dependency and also Kafka Connect with tons of third party deps (like versions of Netty...)

private static final String SYS_PROPERTIES_PREFIX = "langstream.tests.remotekafka.props.";
private static final Map<String, Object> ADMIN_CONFIG;

private org.apache.kafka.clients.admin.Admin admin;
Copy link
Member

Choose a reason for hiding this comment

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

are we adding the langstream-kafka-runtime only for this class ?
it is better to add only the kafka-clients jar, and not import all the other dependencies

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes initially I wanted to use the topics connection runtime but there's no need now

@nicoloboschi nicoloboschi marked this pull request as ready for review September 20, 2023 11:46
@nicoloboschi nicoloboschi merged commit a08227a into main Sep 20, 2023
8 checks passed
@nicoloboschi nicoloboschi deleted the e2e-tests-externalkafka branch September 20, 2023 13:32
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
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.

None yet

2 participants