Open aarushiavlino opened 1 year ago
Hi, I am trying the below code
class Test[K,V]{ private implicit val produced: Produced[GenericRecord, GenericRecord] = Produced.`with`(keyGenericAvroSerde, valueGenericAvroSerde) def sendTransformedOutput(kStreams:KStream[K,V],outputTopic:String)={ kStreams.map[GenericRecord, GenericRecord] ((k, v) => (RecordFormat[K].to(k), RecordFormat[V].to(v))).to(outputTopic) } }
but getting below error , could not find implicit value for evidence parameter of type com.sksamuel.avro4s.Encoder[K]
How can I fix it ? avro version- "4.1.1" scala version -"2.13.12"
Hi, I am trying the below code
but getting below error , could not find implicit value for evidence parameter of type com.sksamuel.avro4s.Encoder[K]
How can I fix it ? avro version- "4.1.1" scala version -"2.13.12"