Class

com.twitter.finatra.kafka.consumers

AsyncStreamKafkaConsumerBuilder

Related Doc: package consumers

Permalink

case class AsyncStreamKafkaConsumerBuilder[K, V](asyncStreamConsumerConfig: AsyncStreamKafkaConsumerConfig[K, V] = ...) extends FinagleKafkaConsumerBuilderMethods[K, V, AsyncStreamKafkaConsumerBuilder[K, V]] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncStreamKafkaConsumerBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FinagleKafkaConsumerBuilderMethods
  7. KafkaConsumerConfigMethods
  8. Logging
  9. Logging
  10. KafkaConfigMethods
  11. KafkaConfig
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsyncStreamKafkaConsumerBuilder(asyncStreamConsumerConfig: AsyncStreamKafkaConsumerConfig[K, V] = ...)

    Permalink

Type Members

  1. type This = AsyncStreamKafkaConsumerBuilder[K, V]

    Permalink
    Definition Classes
    KafkaConfigMethods

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val asyncStreamConsumerConfig: AsyncStreamKafkaConsumerConfig[K, V]

    Permalink
  6. def autoCommitInterval(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  7. def autoOffsetReset(offsetResetStrategy: OffsetResetStrategy): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  8. def bootstrapServers(servers: String): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  9. def buildClient(): KafkaConsumer[K, V]

    Permalink

    Create the native KafkaConsumer client.

    Create the native KafkaConsumer client.

    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  10. def checkCrcs(boolean: Boolean): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  11. def clientId(clientId: String): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def config: FinagleKafkaConsumerConfig[K, V]

    Permalink

    The KafkaConsumerConfig config, which can be used to build KafkaConsumer

    The KafkaConsumerConfig config, which can be used to build KafkaConsumer

    Definition Classes
    AsyncStreamKafkaConsumerBuilderFinagleKafkaConsumerBuilderMethods
  14. def configMap: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    FinagleKafkaConsumerBuilderMethodsKafkaConfig
  15. def connectionsMaxIdle(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  16. def debug(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  17. def debug(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  18. def debug(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  19. def debug(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  20. def debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def debugResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  22. def dest(dest: String, timeout: Duration): This

    Permalink

    Configure the Kafka server the consumer will connect to.

    Configure the Kafka server the consumer will connect to.

    dest

    the Kafka server address

    timeout

    the timeout duration when trying to resolve the dest server.

    returns

    the KafkaConsumerConfigMethods instance.

    Definition Classes
    KafkaConsumerConfigMethods
  23. def dest(dest: String): This

    Permalink

    Configure the Kafka server the consumer will connect to.

    Configure the Kafka server the consumer will connect to.

    dest

    the Kafka server address

    returns

    the KafkaConsumerConfigMethods instance.

    Definition Classes
    KafkaConsumerConfigMethods
  24. def enableAutoCommit(boolean: Boolean): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def error(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  27. def error(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  28. def error(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  29. def error(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  30. def errorResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  31. def excludeInternalTopics(boolean: Boolean): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  32. def fetchMax(storageUnit: StorageUnit): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  33. def fetchMaxWait(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  34. def fetchMin(storageUnit: StorageUnit): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  35. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. def fromConfigMap(configMap: Map[String, String]): This

    Permalink

    Override this in your concrete builder with a copy constructor for that builder that replaces the old configMap with a modified one.

    Override this in your concrete builder with a copy constructor for that builder that replaces the old configMap with a modified one.

    Attributes
    protected
    Definition Classes
    FinagleKafkaConsumerBuilderMethodsKafkaConfigMethods
  37. def fromFinagleConsumerConfig(config: FinagleKafkaConsumerConfig[K, V]): This

    Permalink
    Attributes
    protected
    Definition Classes
    AsyncStreamKafkaConsumerBuilderFinagleKafkaConsumerBuilderMethods
  38. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  39. def groupId(groupId: KafkaGroupId): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  40. def heartbeatInterval(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  41. def includeNodeMetrics(include: Boolean): This

    Permalink

    For KafkaFinagleMetricsReporter: whether to include node-level metrics.

    For KafkaFinagleMetricsReporter: whether to include node-level metrics.

    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  42. def info(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  43. def info(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  44. def info(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  45. def info(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  46. def infoResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  47. def interceptor[T](implicit arg0: Manifest[T]): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  48. def isDebugEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  49. def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  50. def isErrorEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  51. def isErrorEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  52. def isInfoEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  53. def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  54. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  55. def isTraceEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  56. def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  57. def isWarnEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  58. def isWarnEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  59. def isolationLevel(isolationLevel: IsolationLevel): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  60. def keyDeserializer(keyDeserializer: Deserializer[K]): This

    Permalink

    Deserializer class for key

    Deserializer class for key

    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  61. final def logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  62. final def loggerName: String

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  63. def maxPartitionFetch(storageUnit: StorageUnit): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  64. def maxPollInterval(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  65. def maxPollRecords(int: Int): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  66. def metadataMaxAge(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  67. def metricReporter[T](implicit arg0: Manifest[T]): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  68. def metricsNumSamples(int: Int): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  69. def metricsRecordingLevel(recordingLevel: RecordingLevel): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  70. def metricsSampleWindow(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  71. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  72. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  73. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  74. def partitionAssignmentStrategy[T](implicit arg0: Manifest[T]): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  75. def pollTimeout(pollTimeout: Duration): This

    Permalink

    Default poll timeout in milliseconds

    Default poll timeout in milliseconds

    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  76. def receiveBuffer(storageUnit: StorageUnit): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  77. def reconnectBackoff(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  78. def reconnectBackoffMax(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  79. def requestTimeout(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  80. def retryBackoff(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  81. def rewindDuration(rewindDuration: Duration): This

    Permalink

    If using SeekStrategy.REWIND, specify the duration back in time to rewind and start consuming from

    If using SeekStrategy.REWIND, specify the duration back in time to rewind and start consuming from

    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  82. def seekStrategy(seekStrategy: SeekStrategy): This

    Permalink

    Whether the consumer should start from end, beginning or from the offset

    Whether the consumer should start from end, beginning or from the offset

    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  83. def sendBufferConfig(storageUnit: StorageUnit): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  84. def sessionTimeout(duration: Duration): This

    Permalink
    Definition Classes
    KafkaConsumerConfigMethods
  85. def subscribe(): ClosableAsyncStream[ConsumerRecord[K, V]]

    Permalink
  86. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  87. def time[T](formatStr: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  88. def topics(topics: Set[KafkaTopic]): This

    Permalink
  89. def trace(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  90. def trace(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  91. def trace(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  92. def trace(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  93. def traceResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  94. def validateConfigs(config: FinagleKafkaConsumerConfig[K, V]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  95. def valueDeserializer(valueDeserializer: Deserializer[V]): This

    Permalink

    Deserializer class for value

    Deserializer class for value

    Definition Classes
    FinagleKafkaConsumerBuilderMethods
  96. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. def warn(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  100. def warn(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  101. def warn(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  102. def warn(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  103. def warnResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  104. def withClassName[T](key: String)(implicit arg0: Manifest[T]): This

    Permalink
    Attributes
    protected
    Definition Classes
    KafkaConfigMethods
  105. def withClassNameBuilder[T](key: String)(implicit arg0: Manifest[T]): This

    Permalink
    Attributes
    protected
    Definition Classes
    KafkaConfigMethods
  106. def withConfig(keyValuesMap: Map[String, String]): This

    Permalink
    Definition Classes
    KafkaConfigMethods
  107. def withConfig(key: String, value: StorageUnit): This

    Permalink
    Definition Classes
    KafkaConfigMethods
  108. def withConfig(key: String, value: Duration): This

    Permalink
    Definition Classes
    KafkaConfigMethods
  109. def withConfig(key: String, value: Boolean): This

    Permalink
    Definition Classes
    KafkaConfigMethods
  110. def withConfig(key: String, value: Int): This

    Permalink
    Definition Classes
    KafkaConfigMethods
  111. def withConfig(key: String, value: String): This

    Permalink
    Definition Classes
    KafkaConfigMethods

Deprecated Value Members

  1. def build(): FinagleKafkaConsumer[K, V]

    Permalink
    Definition Classes
    FinagleKafkaConsumerBuilderMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2018-05-30) Use buildClient instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from Logging

Inherited from KafkaConfig

Inherited from AnyRef

Inherited from Any

Ungrouped