Package

com.sksamuel.pulsar4s.akka

streams

Permalink

package streams

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. streams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait CommittableMessage[T] extends AnyRef

    Permalink
  2. trait Control extends AnyRef

    Permalink
  3. class PulsarCommittableSourceGraphStage[T] extends GraphStageWithMaterializedValue[SourceShape[CommittableMessage[T]], Control] with Logging

    Permalink
  4. class PulsarSinkGraphStage[T] extends GraphStageWithMaterializedValue[SinkShape[ProducerMessage[T]], Future[Done]] with Logging

    Permalink
  5. class PulsarSourceGraphStage[T] extends GraphStageWithMaterializedValue[SourceShape[ConsumerMessage[T]], Control] with Logging

    Permalink

Value Members

  1. def committableSource[T](create: () ⇒ Consumer[T], seek: Option[MessageId] = None): Source[CommittableMessage[T], Control]

    Permalink

    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.

    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 in ConsumerConfig instead if you need to start at the earliest or latest offset.

    returns

    the new Source.

  2. def sink[T](create: () ⇒ Producer[T]): Sink[ProducerMessage[T], Future[Done]]

    Permalink

    Create an Akka Streams sink from a Producer.

    Create an Akka Streams sink from a Producer.

    create

    a function to create a new Producer

    returns

    the new Sink.

  3. def source[T](create: () ⇒ Consumer[T], seek: Option[MessageId] = None): Source[ConsumerMessage[T], Control]

    Permalink

    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.

    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 in ConsumerConfig instead if you need to start at the earliest or latest offset.

    returns

    the new Source.

Inherited from AnyRef

Inherited from Any

Ungrouped