Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Enables deduplication with a custom message SequenceId maker.
Enables deduplication with a custom message SequenceId maker.
Remember to enable deduplication on the broker too.
See: https://pulsar.apache.org/docs/en/cookbooks-deduplication/
Example:
val maker = SeqIdMaker.instance[IO, String](
(lastSeqId, msg) => IO.pure(lastSeqId + 1)
)
Producer.Settings[IO, String]().withDeduplication(maker)
Attributes
Enables deduplication using the default Pulsar SequenceId maker.
Enables deduplication using the default Pulsar SequenceId maker.
Remember to enable deduplication on the broker too.
See: https://pulsar.apache.org/docs/en/cookbooks-deduplication/
Attributes
USE THIS ONE WITH CAUTION!
USE THIS ONE WITH CAUTION!
In case Neutron does not yet support what you're looking for, there is a big chance the underlying Java client does.
In this case, you can access the underlying ProducerBuilder
to customize it. E.g.
Settings[F, E]().withUnsafeConf(_.autoUpdatePartitions(true))
To be used with extreme caution!