t

cakesolutions.kafka

KafkaProducerLike

trait KafkaProducerLike[K, V] extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaProducerLike
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def abortTransaction(): Unit

    Aborts the transaction.

    Aborts the transaction.

    See also

    Java KafkaProducer abortTransaction method

  2. abstract def beginTransaction(): Unit

    Begin the transaction.

    Begin the transaction.

    See also

    Java KafkaProducer beginTransactions method

  3. abstract def close(timeout: FiniteDuration): Unit

    Close this producer.

    Close this producer.

    See also

    Java KafkaProducer close method

  4. abstract def close(): Unit

    Close this producer.

    Close this producer.

    See also

    Java KafkaProducer close method

  5. abstract def commitTransaction(): Unit

    Commits the transaction.

    Commits the transaction.

    See also

    Java KafkaProducer commitTransaction method

  6. abstract def flush(): Unit

    Make all buffered records immediately available to send and wait until records have been sent.

    Make all buffered records immediately available to send and wait until records have been sent.

    See also

    Java KafkaProducer flush method

  7. abstract def initTransactions(): Unit

    Initialise a transaction.

    Initialise a transaction.

    See also

    Java KafkaProducer initTransactions method

  8. abstract def partitionsFor(topic: String): List[PartitionInfo]

    Get the partition metadata for the give topic.

    Get the partition metadata for the give topic.

    See also

    Java KafkaProducer partitionsFor method

  9. abstract def send(record: ProducerRecord[K, V]): Future[RecordMetadata]

    Asynchronously send a record to a topic.

    Asynchronously send a record to a topic.

    record

    ProducerRecord to sent

    returns

    the result of the sent records as a Future

  10. abstract def sendOffsetsToTransaction(offsets: Map[TopicPartition, OffsetAndMetadata], consumerGroupId: String): Unit

    Sends a list of consumed offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.

    Sends a list of consumed offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.

    See also

    Java KafkaProducer sendOffsetsToTransaction method

  11. abstract def sendWithCallback(record: ProducerRecord[K, V])(callback: (Try[RecordMetadata]) ⇒ Unit): Unit

    Asynchronously send a record to a topic and invoke the provided callback when the send has been acknowledged.

    Asynchronously send a record to a topic and invoke the provided callback when the send has been acknowledged.

    record

    ProducerRecord to sent

    callback

    callback that is called when the send has been acknowledged

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to any2stringadd[KafkaProducerLike[K, V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (KafkaProducerLike[K, V], B)
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to ArrowAssoc[KafkaProducerLike[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def ensuring(cond: (KafkaProducerLike[K, V]) ⇒ Boolean, msg: ⇒ Any): KafkaProducerLike[K, V]
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to Ensuring[KafkaProducerLike[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (KafkaProducerLike[K, V]) ⇒ Boolean): KafkaProducerLike[K, V]
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to Ensuring[KafkaProducerLike[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): KafkaProducerLike[K, V]
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to Ensuring[KafkaProducerLike[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): KafkaProducerLike[K, V]
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to Ensuring[KafkaProducerLike[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to StringFormat[KafkaProducerLike[K, V]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def [B](y: B): (KafkaProducerLike[K, V], B)
    Implicit
    This member is added by an implicit conversion from KafkaProducerLike[K, V] to ArrowAssoc[KafkaProducerLike[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from KafkaProducerLike[K, V] to any2stringadd[KafkaProducerLike[K, V]]

Inherited by implicit conversion StringFormat from KafkaProducerLike[K, V] to StringFormat[KafkaProducerLike[K, V]]

Inherited by implicit conversion Ensuring from KafkaProducerLike[K, V] to Ensuring[KafkaProducerLike[K, V]]

Inherited by implicit conversion ArrowAssoc from KafkaProducerLike[K, V] to ArrowAssoc[KafkaProducerLike[K, V]]

Ungrouped