akka.kafka.scaladsl

Members list

Concise view

Type members

Classlikes

object Committer

Attributes

Source:
Committer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Consumer

Akka Stream connector for subscribing to Kafka topics.

Akka Stream connector for subscribing to Kafka topics.

Attributes

Source:
Consumer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Scala API.

Scala API.

Reads Kafka bootstrap servers from configured sources via akka.discovery.Discovery configuration.

Attributes

Source:
DiscoverySupport.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
object
Source:
MetadataClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
MetadataClient.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

The API is new and may change in further releases.

The API is new and may change in further releases.

Allows the user to execute user code when Kafka rebalances partitions between consumers, or an Alpakka Kafka consumer is stopped. Use with care: These callbacks are called synchronously on the same thread Kafka's poll() is called. A warning will be logged if a callback takes longer than the configured partition-handler-warning.

There is no point in calling Committable's commit methods as their committing won't be executed as long as any of the callbacks in this class are called. Calling commitSync on the passed akka.kafka.RestrictedConsumer is available.

This complements the methods of Kafka's ConsumerRebalanceListener with an onStop callback which is called before Consumer.close.

Attributes

Source:
PartitionAssignmentHandler.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Producer

Akka Stream connector for publishing messages to Kafka topics.

Akka Stream connector for publishing messages to Kafka topics.

Attributes

Source:
Producer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class SendProducer[K, V]

Utility class for producing to Kafka without using Akka Streams.

Utility class for producing to Kafka without using Akka Streams.

Attributes

settings

producer settings used to create or access the org.apache.kafka.clients.producer.Producer

Companion:
object
Source:
SendProducer.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
SendProducer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Akka Stream connector to support transactions between Kafka topics.

Akka Stream connector to support transactions between Kafka topics.

Attributes

Source:
Transactional.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type