Skip to content

Commit bebdd70

Browse files
Code Format
1 parent a1148b3 commit bebdd70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

AvroProducer-V1/AvroProducer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ public static void main(String[] args) throws Exception{
88
String msg;
99

1010
Properties props = new Properties();
11-
props.put("bootstrap.servers", "localhost:9092,localhost:9093"); props.put("key.serializer","org.apache.kafka.common.serialization.StringSerializer");
11+
props.put("bootstrap.servers", "localhost:9092,localhost:9093");
12+
props.put("key.serializer","org.apache.kafka.common.serialization.StringSerializer");
1213
props.put("value.serializer", "io.confluent.kafka.serializers.KafkaAvroSerializer");
1314
props.put("schema.registry.url", "http://localhost:8081");
1415

0 commit comments

Comments
 (0)