gianm commented on a change in pull request #6493: Support for request logging 
in kafka emitter.
URL: https://github.com/apache/incubator-druid/pull/6493#discussion_r236851744
 
 

 ##########
 File path: 
extensions-contrib/kafka-emitter/src/main/java/org/apache/druid/emitter/kafka/KafkaEmitterModule.java
 ##########
 @@ -56,3 +62,12 @@ public Emitter getEmitter(KafkaEmitterConfig 
kafkaEmitterConfig, ObjectMapper ma
     return new KafkaEmitter(kafkaEmitterConfig, mapper);
   }
 }
+
+@JsonAppend(
+    attrs = {
+        @JsonAppend.Attr(value = "clusterName")
+    }
+)
+abstract class ClusterNameMixin
 
 Review comment:
   What's this used for? Would it still be needed if you used Jackson 
conversion instead of toMap when converting the Event into a Map?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to