Packages

object Consumer

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

Type Members

  1. case class DecodingFailure(msg: String) extends Throwable with NoStackTrace with Product with Serializable
  2. sealed abstract class Options extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def create[F[_]](client: T, topic: Topic, sub: Subscription)(implicit arg0: Concurrent[F], arg1: ContextShift[F]): Resource[F, Consumer[F]]

    It creates a simple Consumer with default options.

    It creates a simple Consumer with default options.

    Note that this does not create a subscription to any Topic, you can use Consumer#subscribe for this purpose.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def loggingMessageDecoder[F[_], E](c: Consumer[F], logAction: (E) ⇒ (URL) ⇒ F[Unit])(implicit arg0: MonadError[F, Throwable], arg1: Parallel[F], arg2: Inject[E, Array[Byte]]): Pipe[F, Message[Array[Byte]], E]

    A simple message decoder that uses a cats.Inject instance to deserialise consumed messages.

    A simple message decoder that uses a cats.Inject instance to deserialise consumed messages.

    Consumed messages will be logged using the given logAction.

  13. def messageDecoder[F[_], E](c: Consumer[F])(implicit arg0: MonadError[F, Throwable], arg1: Parallel[F], arg2: Inject[E, Array[Byte]]): Pipe[F, Message[Array[Byte]], E]

    A simple message decoder that uses a cats.Inject instance to deserialise consumed messages.

    A simple message decoder that uses a cats.Inject instance to deserialise consumed messages.

    Messages will not be logged by default.

  14. def multiTopic[F[_]](client: T, topicPattern: Pattern, sub: Subscription)(implicit arg0: Concurrent[F], arg1: ContextShift[F]): Resource[F, Consumer[F]]

    It creates a simple Consumer for a multi-topic subscription.

    It creates a simple Consumer for a multi-topic subscription.

    Find out more at https://pulsar.apache.org/docs/en/concepts-messaging/#multi-topic-subscriptions

    Note that this does not create a subscription to any Topic, you can use Consumer#subscribe for this purpose.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def withOptions[F[_]](client: T, topic: Topic, sub: Subscription, opts: Options)(implicit arg0: Concurrent[F], arg1: ContextShift[F]): Resource[F, Consumer[F]]

    It creates a simple Consumer with the supplied options.

    It creates a simple Consumer with the supplied options.

    Note that this does not create a subscription to any Topic, you can use Consumer#subscribe for this purpose.

  24. object Options

    Consumer options such as subscription initial position.

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped