com.trendyol.mpc.kafkathena.commons.handler.KSSenderDelegate Maven / Gradle / Ivy
package com.trendyol.mpc.kafkathena.commons.handler;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.springframework.kafka.core.KafkaTemplate;
public interface KSSenderDelegate {
void send(String producerName, String topic, String key, T message);
void send(String producerName, ProducerRecord payload);
void send(String producerName, String topic, String key, Object value, String filterHeaderValue);
void send(String producerName, String topic, String key, Object value, String filterHeaderKey, String filterHeaderValue);
KafkaTemplate getProducer(String producerName);
boolean checkProducer(String producerName);
}