jonvex commented on code in PR #7971:
URL: https://github.com/apache/hudi/pull/7971#discussion_r1109060503


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/KafkaSource.java:
##########
@@ -50,6 +56,10 @@ protected KafkaSource(TypedProperties props, 
JavaSparkContext sparkContext, Spar
     this.metrics = metrics;
   }
 
+  protected boolean shouldAppendKafkaOffsets() {
+    return 
KafkaOffsetPostProcessor.class.getName().equals(props.getString(SCHEMA_POST_PROCESSOR_PROP,
 null));

Review Comment:
   I have no idea, but I updated it to do what you suggest



-- 
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]

Reply via email to