Skip to content

Commit

Permalink
Merge pull request Azure#419 from spelluru/master
Browse files Browse the repository at this point in the history
I had to fix this statement to get rid of a compilation error. Please review.
  • Loading branch information
basilhariri committed Aug 30, 2018
2 parents e00c9bf + 403ebb1 commit 9ef326f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bootstrap.servers={YOUR.EVENTHUBS.FQDN}:9093
bootstrap.servers={EVENT HUB NAMESPACE}.servicebus.windows.net:9093
group.id=$Default
request.timeout.ms=60000
security.protocol=SASL_SSL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ public void onCompletion(RecordMetadata metadata, Exception exception) {
}
});
}
System.out.println("Finished sending " + NUM_MESSAGES + " messages from thread #" + Thread.currentThread.getId() + "!");
System.out.println("Finished sending " + NUM_MESSAGES + " messages from thread #" + Thread.currentThread().getId() + "!");
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bootstrap.servers={YOUR.EVENTHUBS.FQDN}:9093
bootstrap.servers={EVENT HUB NAMESPACE}.servicebus.windows.net:9093
security.protocol=SASL_SSL
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="{YOUR.EVENTHUBS.CONNECTION.STRING}";
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="{YOUR.EVENTHUBS.CONNECTION.STRING}";

0 comments on commit 9ef326f

Please sign in to comment.