Currently I am using org.springframework.kafka.core.KafkaTemplate to publish avro messages on the topic with headers.
@Override public ListenableFuture