Class CommonKafkaSpoutConfig<K,​V>

    • Field Detail

      • DEFAULT_POLL_TIMEOUT_MS

        public static final long DEFAULT_POLL_TIMEOUT_MS
        See Also:
        Constant Field Values
      • DEFAULT_PARTITION_REFRESH_PERIOD_MS

        public static final long DEFAULT_PARTITION_REFRESH_PERIOD_MS
        See Also:
        Constant Field Values
      • DEFAULT_FIRST_POLL_OFFSET_STRATEGY

        public static final FirstPollOffsetStrategy DEFAULT_FIRST_POLL_OFFSET_STRATEGY
      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • CommonKafkaSpoutConfig

        public CommonKafkaSpoutConfig​(CommonKafkaSpoutConfig.Builder<K,​V,​?> builder)
        Creates a new CommonKafkaSpoutConfig using a Builder.
        Parameters:
        builder - The Builder to construct the CommonKafkaSpoutConfig from
    • Method Detail

      • getKafkaProps

        public Map<String,​Object> getKafkaProps()
        Gets the properties that will be passed to the KafkaConsumer.
        Returns:
        The Kafka properties map
      • getPollTimeoutMs

        public long getPollTimeoutMs()
      • getPartitionRefreshPeriodMs

        public long getPartitionRefreshPeriodMs()
      • getStartTimeStamp

        public long getStartTimeStamp()