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
  10. def buildClient(): KafkaProducer[K, V]

    Permalink

    Create the native KafkaProducer client.

  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 deliveryTimeout(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  24. 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 block for up to 'timeout' when attempting to resolve the dest to a kafka server name

    dest

    the Kafka server address

    timeout

    the timeout duration when trying to resolve the dest server.

    returns

    the KafkaProducerConfigMethods instance.

    Definition Classes
    KafkaProducerConfigMethods
  25. 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
  26. def enableIdempotence(boolean: Boolean): This

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

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

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

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

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

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

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

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

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

    Permalink

    For KafkaFinagleMetricsReporter: whether to include node-level metrics.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Serializer class for key

  55. def linger(duration: Duration): This

    Permalink
    Definition Classes
    KafkaProducerConfigMethods
  56. final def logger: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Serializer class for value

  88. final def wait(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    KafkaConfigMethods
  104. 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