io.streamthoughts.jikkou.kafka.internals.producer.ProducerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jikkou-provider-kafka Show documentation
Show all versions of jikkou-provider-kafka Show documentation
Integration between Apache Kafka and Jikkou
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright (c) The original authors
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package io.streamthoughts.jikkou.kafka.internals.producer;
import org.apache.kafka.clients.consumer.Consumer;
import org.apache.kafka.clients.producer.Producer;
public interface ProducerFactory extends AutoCloseable {
/**
* Creates a new Producer instance.
*
* @return a new {@link Consumer} instance.
*/
Producer createProducer();
/**
* Close this factory.
*/
@Override
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy