Class

com.twitter.finatra.kafka.producers

FinagleKafkaProducerBuilder

Related Doc: package producers

Permalink

case class FinagleKafkaProducerBuilder[K, V](config: FinagleKafkaProducerConfig[K, V] = FinagleKafkaProducerConfig[K, V]()) extends KafkaProducerConfigMethods[FinagleKafkaProducerBuilder[K, V]] with Product with Serializable

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

Instance Constructors

  1. new FinagleKafkaProducerBuilder(config: FinagleKafkaProducerConfig[K, V] = FinagleKafkaProducerConfig[K, V]())

    Permalink

Type Members

  1. type This = FinagleKafkaProducerBuilder[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. def ackMode(ackMode: AckMode): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def batchSize(size: StorageUnit): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  7. def bootstrapServers(servers: String): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  8. def bufferMemorySize(size: StorageUnit): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  9. def build(): FinagleKafkaProducer[K, V]

    Permalink

    Create the FinagleKafkaProducer client, it might blocks when performing metadata updates.

  10. def buildClient(): KafkaProducer[K, V]

    Permalink

    Create the native KafkaProducer client, it might blocks when performing metadata updates.

  11. def clientId(clientId: String): This

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compressionType(compresionType: CompressionType): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  14. val config: FinagleKafkaProducerConfig[K, V]

    Permalink
  15. def configMap: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    FinagleKafkaProducerBuilderKafkaConfig
  16. def connectionsMaxIdle(duration: Duration): This

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

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

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  23. 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. This will resolve the dest to the Kafka server name. This will block for up to 'timeout' when attempting to resolve the dest to a kafka server name

    dest

    the Kafka server address

    timeout

    the amount of time this may block when trying to resolve the dest server

    returns

    the KafkaProducerConfigMethods instance.

    Definition Classes
    KafkaProducerConfigMethods
  24. def dest(dest: String): This

    Permalink

    Configure the Kafka server the consumer will connect to.

    Configure the Kafka server the consumer will connect to. This will resolve the dest to the Kafka server name. The call will block indefinitely until it successfully succeed or failed to resolve the server

    dest

    the Kafka server address

    returns

    the KafkaProducerConfigMethods instance.

    Definition Classes
    KafkaProducerConfigMethods
  25. def enableIdempotence(boolean: Boolean): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  26. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  32. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. 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
    FinagleKafkaProducerBuilderKafkaConfigMethods
  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def includeNodeMetrics(include: Boolean): This

    Permalink

    For KafkaFinagleMetricsReporter: whether to include node-level metrics.

  36. def info(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  42. def isDebugEnabled(marker: Marker): Boolean

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  53. def keySerializer(keySerializer: Serializer[K]): This

    Permalink

    Serializer class for key

  54. def linger(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  55. final def logger: Logger

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  57. def maxBlock(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  58. def maxInFlightRequestsPerConnection(max: Int): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  59. def maxRequestSize(size: StorageUnit): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  60. def metadataMaxAge(duration: Duration): This

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

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  62. def metricsNumSamples(samples: Int): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  63. def metricsRecordingLevel(recordingLevel: RecordingLevel): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  64. def metricsSampleWindow(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  65. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  69. def receiveBufferSize(size: StorageUnit): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  70. def reconnectBackoff(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  71. def reconnectBackoffMax(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  72. def requestTimeout(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  73. def retries(retries: Int): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  74. def retryBackoff(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  75. def sendBufferSize(size: StorageUnit): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  76. def statsReceiver(statsReceiver: StatsReceiver): This

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  79. def trace(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  84. def transactionTimeout(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  85. def transactionalId(id: String): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  86. def valueSerializer(valueSerializer: Serializer[V]): This

    Permalink

    Serializer class for value

  87. final def wait(): Unit

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    KafkaConfigMethods
  97. def withConfig(config: FinagleKafkaProducerConfig[K, V]): This

    Permalink
    Attributes
    protected
  98. def withConfig(keyValuesMap: Map[String, String]): This

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

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

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

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

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

    Permalink
    Definition Classes
    KafkaConfigMethods

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