Member since
01-23-2018
2
Posts
0
Kudos Received
0
Solutions
01-24-2018
03:44 AM
Schema schema = .... @SuppressWarnings("static-access")
Decoder binaryDecoder = DecoderFactory.get().get().binaryDecoder(value.toString().getBytes(), null);
System.out.println("test");
@SuppressWarnings("rawtypes")
GenericDatumReader<GenericRecord> payloadReader = new SpecificDatumReader<GenericRecord>(schema);
System.out.println("test1" + binaryDecoder.toString().length()+ "test");
GenericRecord recode = null;
recode = payloadReader.read(recode, binaryDecoder);
System.out.println("test2");
... View more
01-23-2018
04:27 PM
Hii, Please can help me, By using kafkaStreaming api i get the avro data from kafka then i will try to convert avro data format into json then push into kafka,
... View more
Labels:
- Labels:
-
Apache Kafka