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

Fix some small bugs including incorrect argument parsing and a race c… #133

Closed
wants to merge 1 commit into from

Conversation

benstopford
Copy link
Contributor

…ondition

Copy link
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

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

@benstopford Seems this PR slipped through. Sorry for that.

@@ -163,7 +163,7 @@ public void startEverythingElse() throws Exception {
services.add(new OrderDetailsService());
services.add(new ValidationsAggregatorService());

tailAllTopicsToConsole(CLUSTER.bootstrapServers());
// tailAllTopicsToConsole(CLUSTER.bootstrapServers());
Copy link
Member

Choose a reason for hiding this comment

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

remove?

@@ -40,8 +40,8 @@ public static String parseArgsAndConfigure(String[] args) {
"[<bootstrap.servers> (optional, default: " + DEFAULT_BOOTSTRAP_SERVERS + ")] " +
"[<schema.registry.url> (optional, default: " + DEFAULT_SCHEMA_REGISTRY_URL + ")] ");
}
final String bootstrapServers = args.length > 1 ? args[1] : "localhost:9092";
final String schemaRegistryUrl = args.length > 2 ? args[2] : "http://localhost:8081";
final String bootstrapServers = args.length >= 1 ? args[0] : "localhost:9092";
Copy link
Member

Choose a reason for hiding this comment

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

nit: args.length > 0 (also next line)

@@ -36,7 +36,7 @@ public static void startKafkaCluster() {
CLUSTER.createTopic(Topics.ORDERS.name());
CLUSTER.createTopic(Topics.ORDER_VALIDATIONS.name());
Schemas.configureSerdesWithSchemaRegistryUrl(CLUSTER.schemaRegistryUrl());
MicroserviceTestUtils.tailAllTopicsToConsole(CLUSTER.bootstrapServers());
// MicroserviceTestUtils.tailAllTopicsToConsole(CLUSTER.bootstrapServers());
Copy link
Member

Choose a reason for hiding this comment

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

remove

@mjsax
Copy link
Member

mjsax commented Jan 20, 2019

I guess, the PR should be targeted against 4.1.0-post instead?

Copy link

cla-assistant bot commented Jul 11, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@mjsax
Copy link
Member

mjsax commented Dec 23, 2024

Closing this 6-year old PR. Versions 4.x are EOL already.

We also migrated the content of this repo to https://github.com/confluentinc/tutorials in the mean time.

@mjsax mjsax closed this Dec 23, 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.

2 participants