Class KafkaFetcherConfig
java.lang.Object
org.apache.skywalking.oap.server.library.module.ModuleConfig
org.apache.skywalking.oap.server.analyzer.agent.kafka.module.KafkaFetcherConfig
public class KafkaFetcherConfig
extends org.apache.skywalking.oap.server.library.module.ModuleConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbootstrap.servers: A list of host/port pairs to use for establishing the initial connection to the Kafka cluster.intgroup.id: A unique string that identifies the consumer group this consumer belongs to.Kafka consumer config.intintintThe number of partitions for the topic being created.intThe replication factor for each partition in the topic being created.inthashCode()booleanbooleanvoidsetBootstrapServers(String bootstrapServers) bootstrap.servers: A list of host/port pairs to use for establishing the initial connection to the Kafka cluster.voidsetConfigPath(String configPath) voidsetConsumers(int consumers) voidsetEnableNativeJsonLog(boolean enableNativeJsonLog) voidsetEnableNativeProtoLog(boolean enableNativeProtoLog) voidsetGroupId(String groupId) group.id: A unique string that identifies the consumer group this consumer belongs to.voidsetKafkaConsumerConfig(Properties kafkaConsumerConfig) Kafka consumer config.voidsetKafkaHandlerThreadPoolQueueSize(int kafkaHandlerThreadPoolQueueSize) voidsetKafkaHandlerThreadPoolSize(int kafkaHandlerThreadPoolSize) voidsetMm2SourceAlias(String mm2SourceAlias) voidsetMm2SourceSeparator(String mm2SourceSeparator) voidsetNamespace(String namespace) voidsetPartitions(int partitions) The number of partitions for the topic being created.voidsetReplicationFactor(int replicationFactor) The replication factor for each partition in the topic being created.voidsetTopicNameOfJsonLogs(String topicNameOfJsonLogs) voidsetTopicNameOfLogs(String topicNameOfLogs) voidsetTopicNameOfManagements(String topicNameOfManagements) voidsetTopicNameOfMeters(String topicNameOfMeters) voidsetTopicNameOfMetrics(String topicNameOfMetrics) voidsetTopicNameOfProfiling(String topicNameOfProfiling) voidsetTopicNameOfTracingSegments(String topicNameOfTracingSegments) toString()
-
Constructor Details
-
KafkaFetcherConfig
public KafkaFetcherConfig()
-
-
Method Details
-
getKafkaConsumerConfig
Kafka consumer config. -
getBootstrapServers
bootstrap.servers: A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. -
getGroupId
group.id: A unique string that identifies the consumer group this consumer belongs to. -
getPartitions
public int getPartitions()The number of partitions for the topic being created. -
getReplicationFactor
public int getReplicationFactor()The replication factor for each partition in the topic being created. -
isEnableNativeProtoLog
public boolean isEnableNativeProtoLog() -
isEnableNativeJsonLog
public boolean isEnableNativeJsonLog() -
getConfigPath
-
getTopicNameOfMetrics
-
getTopicNameOfProfiling
-
getTopicNameOfTracingSegments
-
getTopicNameOfManagements
-
getTopicNameOfMeters
-
getTopicNameOfLogs
-
getTopicNameOfJsonLogs
-
getKafkaHandlerThreadPoolSize
public int getKafkaHandlerThreadPoolSize() -
getKafkaHandlerThreadPoolQueueSize
public int getKafkaHandlerThreadPoolQueueSize() -
getNamespace
-
getMm2SourceAlias
-
getMm2SourceSeparator
-
getConsumers
public int getConsumers() -
setKafkaConsumerConfig
Kafka consumer config. -
setBootstrapServers
bootstrap.servers: A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. -
setGroupId
group.id: A unique string that identifies the consumer group this consumer belongs to. -
setPartitions
public void setPartitions(int partitions) The number of partitions for the topic being created. -
setReplicationFactor
public void setReplicationFactor(int replicationFactor) The replication factor for each partition in the topic being created. -
setEnableNativeProtoLog
public void setEnableNativeProtoLog(boolean enableNativeProtoLog) -
setEnableNativeJsonLog
public void setEnableNativeJsonLog(boolean enableNativeJsonLog) -
setConfigPath
-
setTopicNameOfMetrics
-
setTopicNameOfProfiling
-
setTopicNameOfTracingSegments
-
setTopicNameOfManagements
-
setTopicNameOfMeters
-
setTopicNameOfLogs
-
setTopicNameOfJsonLogs
-
setKafkaHandlerThreadPoolSize
public void setKafkaHandlerThreadPoolSize(int kafkaHandlerThreadPoolSize) -
setKafkaHandlerThreadPoolQueueSize
public void setKafkaHandlerThreadPoolQueueSize(int kafkaHandlerThreadPoolQueueSize) -
setNamespace
-
setMm2SourceAlias
-
setMm2SourceSeparator
-
setConsumers
public void setConsumers(int consumers) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-