Skip to content

Commit

Permalink
Update java/food-ordering/app/restate-app/src/main/java/dev/restate/s…
Browse files Browse the repository at this point in the history
…dk/examples/clients/KafkaPublisher.java

Co-authored-by: Francesco Guardiani <francescoguard@gmail.com>
  • Loading branch information
gvdongen and slinkydeveloper authored Jan 12, 2024
1 parent d37f7b8 commit 67208a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class KafkaPublisher {
? System.getenv("KAFKA_BOOTSTRAP_SERVERS")
: "127.0.0.1:9092";

KafkaProducer<String, byte[]> producer;
private final KafkaProducer<String, byte[]> producer;

public KafkaPublisher() {
this.producer = new KafkaProducer<>(properties());
Expand Down

0 comments on commit 67208a1

Please sign in to comment.