com.sksamuel.pulsar4s.akka.streams
Members list
Type members
Classlikes
Attributes
- 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
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Loggingclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Loggingclass GraphStageWithMaterializedValue[SinkShape[(Topic, ProducerMessage[T])], Future[Done]]trait Graph[SinkShape[(Topic, ProducerMessage[T])], Future[Done]]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Loggingclass GraphStageWithMaterializedValue[SinkShape[ProducerMessage[T]], Future[Done]]trait Graph[SinkShape[ProducerMessage[T]], Future[Done]]class Objecttrait Matchableclass AnyShow all
Attributes
- 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.
Value parameters
- 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.
Attributes
- Returns
-
the new Source.
Create a multi-topic Akka Streams sink from a Producer.
Create a multi-topic Akka Streams sink from a Producer.
Value parameters
- create
-
a function to create a new Producer taking com.sksamuel.pulsar4s.Topic as a parameter
Attributes
- Returns
-
the new Sink.
Create an Akka Streams sink from a Producer.
Create an Akka Streams sink from a Producer.
Value parameters
- create
-
a function to create a new Producer
Attributes
- 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.
Value parameters
- 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.
Attributes
- 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
Value parameters
- create
-
a function to create a new Reader.
- seek
-
an optional MessageId to seek to.
Attributes
- Returns
-
the new Source.