-
Notifications
You must be signed in to change notification settings - Fork 30
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
Conversation
langstream-e2e-tests/pom.xml
Outdated
@@ -52,6 +52,12 @@ | |||
<version>${project.version}</version> | |||
<scope>test</scope> | |||
</dependency> | |||
<dependency> | |||
<groupId>${project.groupId}</groupId> | |||
<artifactId>langstream-kafka-runtime</artifactId> |
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.
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; |
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.
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
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.
Yes initially I wanted to use the topics connection runtime but there's no need now
410bffb
to
1e02ed6
Compare
No description provided.