Azure / kafka-sink-azure-kusto

Kafka sink for Kusto
MIT License
48 stars 24 forks source link

Potential NPE in TopicPartitionWriter #62

Closed preston-m-price closed 3 years ago

preston-m-price commented 3 years ago

This case will yield a NPE if a null record is passed in.

https://github.com/Azure/kafka-sink-azure-kusto/blob/6dbd611a0fbad324cc27430ed3a61fe5e447c8b4/src/main/java/com/microsoft/azure/kusto/kafka/connect/sink/TopicPartitionWriter.java#L205-L207

I tried to push a PR to fix but I'm blocked, so I'll start by opening an issue.

ohadbitt commented 3 years ago

fix on #63 2.3.0