public static ByteBuf newProducer(String topic, long producerId, long requestId, String producerName, boolean encrypted, Map<String, String> metadata) { return newProducer(topic, producerId, requestId, producerName, encrypted, metadata, null); }
@VisibleForTesting public static ByteBuf newProducer(String topic, long producerId, long requestId, String producerName, Map<String, String> metadata) { return newProducer(topic, producerId, requestId, producerName, false, metadata); }
Commands.newProducer(topic, producerId, requestId, producerName, conf.isEncryptionEnabled(), metadata, schemaInfo), requestId).thenAccept(response -> {
public static ByteBuf newProducer(String topic, long producerId, long requestId, String producerName, boolean encrypted, Map<String, String> metadata) { return newProducer(topic, producerId, requestId, producerName, encrypted, metadata, null); }
@VisibleForTesting public static ByteBuf newProducer(String topic, long producerId, long requestId, String producerName, Map<String, String> metadata) { return newProducer(topic, producerId, requestId, producerName, false, metadata); }
Commands.newProducer(topic, producerId, requestId, producerName, conf.isEncryptionEnabled(), metadata, schemaInfo), requestId).thenAccept(response -> {