com.sksamuel.pulsar4s.akka.streams
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
Provides operations for controlling the Pulsar Akka streams sources.
Provides operations for controlling the Pulsar Akka streams sources.
This trait is not meant to be inherited by external code.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait Loggingclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait Loggingclass GraphStageWithMaterializedValue[SinkShape[(Topic, ProducerMessage[T])], Future[Done]]trait Graph[SinkShape[(Topic, ProducerMessage[T])], Future[Done]]class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait Loggingclass GraphStageWithMaterializedValue[SinkShape[ProducerMessage[T]], Future[Done]]trait Graph[SinkShape[ProducerMessage[T]], Future[Done]]class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait CommittableMessage[T]
Value members
Concrete methods
Create an Akka Streams source for the given Consumer that produces CommittableMessages, which can be acknowledged individually.
Create an Akka Streams source for the given Consumer that produces CommittableMessages, which can be acknowledged individually.
Attributes
- closeDelay
the maximum amount of time to wait after the source completes before closing the consumer, assuming the consumer is not already closed explicitly by
shutdown
ordrainAndShutdown
.- create
a function to create a new Consumer.
- seek
an optional MessageId to seek to. Note that seeking will not work on multi-topic subscriptions. Prefer setting
subscriptionInitialPosition
inConsumerConfig
instead if you need to start at the earliest or latest offset.- Returns:
the new Source.
Create a multi-topic Akka Streams sink from a Producer.
Create a multi-topic Akka Streams sink from a Producer.
Attributes
- create
a function to create a new Producer taking com.sksamuel.pulsar4s.Topic as a parameter
- Returns:
the new Sink.
Create an Akka Streams sink from a Producer.
Create an Akka Streams sink from a Producer.
Attributes
- create
a function to create a new Producer
- Returns:
the new Sink.
Create an Akka Streams source for the given Consumer that produces ConsumerMessages and auto-acknowledges.
Create an Akka Streams source for the given Consumer that produces ConsumerMessages and auto-acknowledges.
Attributes
- create
a function to create a new Consumer.
- seek
an optional MessageId to seek to. Note that seeking will not work on multi-topic subscriptions. Prefer setting
subscriptionInitialPosition
inConsumerConfig
instead if you need to start at the earliest or latest offset.- Returns:
the new Source.
Create an Akka Streams source for the given Reader that produces ConsumerMessages. Readers are used when there is no needs to track message consumption
Create an Akka Streams source for the given Reader that produces ConsumerMessages. Readers are used when there is no needs to track message consumption
Attributes
- create
a function to create a new Reader.
- seek
an optional MessageId to seek to.
- Returns:
the new Source.