Skip to content

Add system test app#84

Merged
rodesai merged 6 commits intomainfrom
add-system-test-app
Aug 2, 2023
Merged

Add system test app#84
rodesai merged 6 commits intomainfrom
add-system-test-app

Conversation

@rodesai
Copy link
Contributor

@rodesai rodesai commented Jul 30, 2023

Adds the smoke test app from sindri to the public repo
under a new module kafka-client-examples::simple-example.

Adds steps to the PR builder to run smoke tests

Adds the smoke test app from sindri to the public repo
under a new module kafka-client-examples::simple-example.

Adds steps to the PR builder to run smoke tests
@rodesai rodesai force-pushed the add-system-test-app branch from ec6fcea to f69e240 Compare July 30, 2023 17:09
Comment on lines +11 to +12
// todo: how to set the version here?
implementation(project(":kafka-client"))
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the only way to do this would be to depend on published artifacts (e.g. "implementation("dev.responsive...:kafka-client:<version>"))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not an issue anymore. Just forgot to cleanup the comment. Getting the client version built in the same build is what we want.

implementation("com.scylladb:java-driver-mapper-runtime:4.15.0.0")
}

java {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we just keep the entire responsive-pub at JDK 11? I think it'd make it simpler to develop in IDEs

@rodesai rodesai force-pushed the add-system-test-app branch from 27a794c to bf14b24 Compare August 1, 2023 18:14
try (final Admin admin = Admin.create(config.originals())) {
final String source = config.getSourceTopic();
for (final var topic : List.of(source, source + "-out", source + "-counts")) {
LOGGER.info("create topic {}", topic);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: LOGGER --> LOG 😈

Copy link
Contributor

Choose a reason for hiding this comment

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

agh - good call!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

whoops - I was signed in as the tools user

@rodesai rodesai force-pushed the add-system-test-app branch from 88adc4a to 7223996 Compare August 1, 2023 23:04
@rodesai rodesai merged commit 9cc477c into main Aug 2, 2023
@rodesai rodesai deleted the add-system-test-app branch August 2, 2023 00:44
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.

4 participants