emit method

void emit(
  1. String topic,
  2. T data
)

Implementation

void emit(String topic, T data) {
  kafka.emit<T>(topic, data);
}