Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-10-02 Thread Arvid Heise
;> >>> >>> On 17/09/2020 16:34, Lian Jiang wrote: >>> >>> >>> >>> Piotr/Dawid, >>> >>> >>> >>> Thanks for the reply. FLINK-18223 seems not to related to this issue >>>

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-23 Thread Lian Jiang
ass = tClass; >> >>> this.tSchemaStr = tSchemaStr; >> >>> this.topic = null; >> >>> this.schemaRegistryUrl = schemaRegistryUrl; >> >>> } >> >>> >> >>> @Overridepublic T deserialize(C

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-22 Thread Dawid Wysakowicz
> >>>      SpecificDatumReader reader = new SpecificDatumReader<>( > >>>              generic.getSchema(), tSchema, > ManagedSpecificData.getForClass(tClass)); > >>>      Decoder anotherDecoder = > DecoderFactory.get().binaryDecoder(avroData, null); > >>>     

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-21 Thread Lian Jiang
t; out.close(); > >>> tSchema = new org.apache.avro.Schema.Parser().parse(tSchemaStr); > >>> SpecificDatumReader reader = new SpecificDatumReader<>( > >>> generic.getSchema(), tSchema, > ManagedSpecificData.getForClass(tClass)); > >>>

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-21 Thread Aljoscha Krettek
tory.fromSpecific() which creates its private copy of specificData. This private specificData does not have logical type information. This blocks the deserialized messages from being passed to downstream operators. Any idea how to make this work? Appreciated very much! org.apache.avro.AvroRuntimeException: U

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-21 Thread Dawid Wysakowicz
>> ConfluentRegistryDeserializationSchema that comes with >> Flink or did you >> built custom DeserializationSchema? Could you maybe share >> the code for >> instantiating the source with us? It could help

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-21 Thread Arvid Heise
alizer, >> this.sourceSettings); >> >> >> >> Thanks >> >> Lian >> >> >> >> >> On Thu, Sep 17, 2020 at 2:19 AM Dawid Wysakowicz >> wrote: >> >&g

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-20 Thread Lian Jiang
08:09, Lian Jiang wrote: >> > Hi, >> > >> > i am using avro 1.9.1 + Flink 1.10.1 + Confluent Kafka 5.5. In >> > Intellij, I can see the FlinkKafkaConsumer already deserialized the >> > upstream kafka message. However, I got below error

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-17 Thread Dawid Wysakowicz
> upstream kafka message. However, I got below error when this message > > is serialized during pushToOperator. Per the stack trace, the reason > > is that AvroSerializer is created by AvroFactory.fromSpecific() > whic

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-17 Thread Lian Jiang
idea how to > > make this work? Appreciated very much! > > > > > > org.apache.avro.AvroRuntimeException: Unknown datum type > > java.time.Instant: 2020-09-15T07:00:00Z > > at > org.apache.avro.generic.GenericData.getSchemaName(GenericData.java:887) &

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-17 Thread Dawid Wysakowicz
n. This blocks the deserialized > messages from being passed to downstream operators. Any idea how to > make this work? Appreciated very much! > > > org.apache.avro.AvroRuntimeException: Unknown datum type > java.time.Instant: 2020-09-15T07:00:00Z > at org.apache.avro.ge

Re: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-16 Thread Piotr Nowojski
is work? Appreciated very much! > > > org.apache.avro.AvroRuntimeException: Unknown datum type > java.time.Instant: 2020-09-15T07:00:00Z > at org.apache.avro.generic.GenericData.getSchemaName(GenericData.java:887) > at > org.apache.avro.specif

Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z

2020-09-16 Thread Lian Jiang
! org.apache.avro.AvroRuntimeException: Unknown datum type java.time.Instant: 2020-09-15T07:00:00Z at org.apache.avro.generic.GenericData.getSchemaName(GenericData.java:887) at org.apache.avro.specific.SpecificData.getSchemaName(SpecificData.java:420) at org.apache.avro.generic.GenericData.resolveUnion