harinirajendran commented on PR #14281:
URL: https://github.com/apache/druid/pull/14281#issuecomment-1563485918

   > I see UTs fail because of the enum change `SEGMENT_METADATA`. It appears 
that we only do upper and lower case conversions in 
`KafkaEmitterConfig.EventType#fromString` and `#toString` methods, so I think a 
custom `toString()` on the enum is needed?
   > 
   > ```
   > Error:    Run 4: 
KafkaEmitterConfigTest.testDeserializeEventTypesWithDifferentCase:108 ยป 
ValueInstantiation Cannot construct instance of 
`org.apache.druid.emitter.kafka.KafkaEmitterConfig$EventType`, problem: No enum 
constant 
org.apache.druid.emitter.kafka.KafkaEmitterConfig.EventType.SEGMENTMETADATA
   >  at [Source: (String)""segmentMetadata""; line: 1, column: 1]
   > ```
   
   I updated the event name from SEGMENTMETADATA to SEGMENT_METADATA but I 
missed to update the unit test I added. Hence the failure. Fixed it now.


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


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

Reply via email to