Private variable referred in Kafka publish through setter is marked as unused variable - java:S1068

Hey there.

I’ve moved your post to our section on reporting false-positives.

Can you update your post with a complete code sample?