Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
comment re: topology logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Martin committed Oct 15, 2019
1 parent 9f86af1 commit 00f21f5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public static void main(String[] args) throws CertificateException, NoSuchAlgori
.process(PostgresSink::new);

final Topology topology = builder.build();

// Log topology at startup, for debugging
// More about the topology graph: https://www.confluent.io/blog/optimizing-kafka-streams-applications
System.out.println(topology.describe());

final KafkaStreams streams = new KafkaStreams(topology, streamsConfig);
Expand Down

0 comments on commit 00f21f5

Please sign in to comment.