Skip to content

Commit

Permalink
docs: πŸ“ [Chapter 07] KafkaProducer μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinminjin committed Jan 5, 2025
1 parent 189a15c commit fff395a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions _posts/kafka/2025-01-04-chapter07.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ public class KafkaProducer {
String topic = recordMetadata.topic();
int partition = recordMetadata.partition();
long offset = recordMetadata.offset();

// bootstrap.servers 좜λ ₯
String bootstrapServers = kafkaTemplate.getProducerFactory().getConfigurationProperties().get("bootstrap.servers").toString();
System.out.println("Message successfully sent to topic: " + topic + ", partition: " + partition + ", offset: " + offset);
}

Expand Down

0 comments on commit fff395a

Please sign in to comment.