Settings

sealed abstract
class Settings[F[_], E]
Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

If enabled, the consumer will read messages from the compacted topic rather than reading the full message backlog of the topic. This means that, if the topic has been compacted, the consumer will only see the latest value for each key in the topic, up until the point in the topic message backlog that has been compacted. Beyond that point, the messages will be sent as normal.

If enabled, the consumer will read messages from the compacted topic rather than reading the full message backlog of the topic. This means that, if the topic has been compacted, the consumer will only see the latest value for each key in the topic, up until the point in the topic message backlog that has been compacted. Beyond that point, the messages will be sent as normal.

readCompacted can only be enabled subscriptions to persistent topics, which have a single active consumer (i.e. failure or exclusive subscriptions). Attempting to enable it on subscriptions to a non-persistent topics or on a shared subscription, will lead to the subscription call throwing a PulsarClientException.

def withStartMessageId(_startMessageId: MessageId): Settings[F, E]

The Start message Id. Latest by default.

The Start message Id. Latest by default.

Abstract fields

val messageDecoder: Option[Array[Byte] => F[E]]
val readCompacted: Boolean
val schema: Option[Schema[E]]
val startMessageId: MessageId