mirror of https://github.com/apache/kafka.git
KAFKA-15239: Fix system tests using producer performance service (#14092)
Reviewers: Greg Harris <greg.harris@aiven.io>
This commit is contained in:
parent
f2ebd333e8
commit
8de3e0436a
|
@ -2763,6 +2763,7 @@ project(':connect:runtime') {
|
|||
implementation libs.reflections
|
||||
implementation libs.mavenArtifact
|
||||
implementation libs.swaggerAnnotations
|
||||
implementation project(':server-common')
|
||||
|
||||
// We use this library to generate OpenAPI docs for the REST API, but we don't want or need it at compile
|
||||
// or run time. So, we add it to a separate configuration, which we use later on during docs generation
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.apache.kafka.connect.data.Struct;
|
|||
import org.apache.kafka.connect.errors.ConnectException;
|
||||
import org.apache.kafka.connect.source.SourceRecord;
|
||||
import org.apache.kafka.connect.source.SourceTask;
|
||||
import org.apache.kafka.common.utils.ThroughputThrottler;
|
||||
import org.apache.kafka.server.util.ThroughputThrottler;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.JsonProcessingException;
|
|||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.apache.kafka.connect.data.SchemaBuilder;
|
||||
import org.apache.kafka.connect.data.Struct;
|
||||
import org.apache.kafka.common.utils.ThroughputThrottler;
|
||||
import org.apache.kafka.server.util.ThroughputThrottler;
|
||||
import org.apache.kafka.clients.producer.RecordMetadata;
|
||||
import org.apache.kafka.connect.data.Schema;
|
||||
import org.apache.kafka.connect.errors.ConnectException;
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.kafka.connect.source.ConnectorTransactionBoundaries;
|
|||
import org.apache.kafka.connect.source.ExactlyOnceSupport;
|
||||
import org.apache.kafka.connect.source.SourceRecord;
|
||||
import org.apache.kafka.connect.source.SourceTask;
|
||||
import org.apache.kafka.common.utils.ThroughputThrottler;
|
||||
import org.apache.kafka.server.util.ThroughputThrottler;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.kafka.common.utils;
|
||||
package org.apache.kafka.server.util;
|
||||
|
||||
|
||||
/**
|
|
@ -42,7 +42,7 @@ import net.sourceforge.argparse4j.inf.ArgumentParser;
|
|||
import net.sourceforge.argparse4j.inf.ArgumentParserException;
|
||||
import net.sourceforge.argparse4j.inf.Namespace;
|
||||
import org.apache.kafka.common.utils.Exit;
|
||||
import org.apache.kafka.common.utils.ThroughputThrottler;
|
||||
import org.apache.kafka.server.util.ThroughputThrottler;
|
||||
import org.apache.kafka.common.utils.Utils;
|
||||
|
||||
public class ProducerPerformance {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.apache.kafka.clients.producer.ProducerConfig;
|
|||
import org.apache.kafka.clients.producer.ProducerRecord;
|
||||
import org.apache.kafka.clients.producer.RecordMetadata;
|
||||
import org.apache.kafka.common.serialization.StringSerializer;
|
||||
import org.apache.kafka.common.utils.ThroughputThrottler;
|
||||
import org.apache.kafka.server.util.ThroughputThrottler;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
|
Loading…
Reference in New Issue