public static class KafkaConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KafkaConfig |
build() |
KafkaConfig |
build(boolean clientOnly) |
KafkaConfig.Builder |
withAtLeastOnce() |
KafkaConfig.Builder |
withExactlyOnce() |
KafkaConfig.Builder |
withKafkaApplicationId(String applicationId) |
KafkaConfig.Builder |
withKafkaBootstrap(String bootstrapServers) |
KafkaConfig.Builder |
withSetting(String name,
Object value) |
KafkaConfig.Builder |
withSettings(Map<String,Object> config) |
public KafkaConfig.Builder withKafkaApplicationId(String applicationId)
public KafkaConfig.Builder withKafkaBootstrap(String bootstrapServers)
public KafkaConfig.Builder withExactlyOnce()
public KafkaConfig.Builder withAtLeastOnce()
public KafkaConfig.Builder withSetting(String name, Object value)
public KafkaConfig.Builder withSettings(Map<String,Object> config)
public KafkaConfig build()
public KafkaConfig build(boolean clientOnly)
Copyright © 2019. All rights reserved.