sbernauer commented on a change in pull request #3111:
URL: https://github.com/apache/hudi/pull/3111#discussion_r659589194
##########
File path:
hudi-utilities/src/test/java/org/apache/hudi/utilities/deser/TestKafkaAvroSchemaDeserializer.java
##########
@@ -102,9 +99,10 @@ private IndexedRecord createExtendUserRecord() {
public void testKafkaAvroSchemaDeserializer() {
byte[] bytesOrigRecord;
IndexedRecord avroRecord = createUserRecord();
- SchemaTestProvider.schemaToReturn.set(origSchema);
- KafkaAvroSchemaDeserializer avroDeserializer = new
KafkaAvroSchemaDeserializer(schemaRegistry, new HashMap(defaultConfig));
- avroDeserializer.configure(new HashMap(defaultConfig), false);
+ config.put("hoodie.deltastreamer.source.kafka.value.deserializer.schema",
origSchema.toString());
Review comment:
Alright thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]