package
pulsar4s
Type Members
-
trait
AsyncHandler[F[_]] extends AnyRef
-
trait
Consumer[T] extends Closeable
-
case class
ConsumerConfig(subscriptionName: Subscription, topics: Seq[Topic] = Nil, topicPattern: Option[Regex] = None, consumerEventListener: Option[ConsumerEventListener] = None, cryptoFailureAction: Option[ConsumerCryptoFailureAction] = None, consumerName: Option[String] = None, cryptoKeyReader: Option[CryptoKeyReader] = None, maxTotalReceiverQueueSizeAcrossPartitions: Option[Int] = None, patternAutoDiscoveryPeriod: Option[Int] = None, priorityLevel: Option[Int] = None, receiverQueueSize: Option[Int] = None, subscriptionInitialPosition: Option[SubscriptionInitialPosition] = None, subscriptionType: Option[SubscriptionType] = None, readCompacted: Option[Boolean] = None) extends Product with Serializable
-
-
class
ConsumerInterceptorAdapter[T] extends org.apache.pulsar.client.api.ConsumerInterceptor[T]
-
-
-
case class
DefaultConsumerMessage[T](key: Option[String], value: T, data: Array[Byte], props: Map[String, String], messageId: MessageId, sequenceId: SequenceId, producerName: ProducerName, publishTime: PublishTime, eventTime: EventTime, topic: Topic) extends ConsumerMessage[T] with Product with Serializable
-
-
case class
DefaultProducerMessage[T](key: Option[String], value: T, props: Map[String, String] = Map.empty, sequenceId: Option[SequenceId] = None, eventTime: Option[EventTime] = None, disableReplication: Boolean = false, replicationClusters: List[String] = Nil) extends ProducerMessage[T] with Product with Serializable
-
-
-
case class
EventTime(value: Long) extends Product with Serializable
-
-
type
JConsumer[T] = org.apache.pulsar.client.api.Consumer[T]
-
type
JMessage[T] = Message[T]
-
type
JMessageId = org.apache.pulsar.client.api.MessageId
-
type
JProducer[T] = org.apache.pulsar.client.api.Producer[T]
-
sealed
trait
MessageId extends AnyRef
-
trait
Producer[T] extends Closeable with Logging
-
case class
ProducerConfig(topic: Topic, encryptionKey: Option[String] = None, batchingMaxMessages: Option[Int] = None, batchingMaxPublishDelay: Option[FiniteDuration] = None, blockIfQueueFull: Option[Boolean] = None, cryptoFailureAction: Option[ProducerCryptoFailureAction] = None, cryptoKeyReader: Option[CryptoKeyReader] = None, enableBatching: Option[Boolean] = None, hashingScheme: Option[HashingScheme] = None, initialSequenceId: Option[Long] = None, maxPendingMessages: Option[Int] = None, maxPendingMessagesAcrossPartitions: Option[Int] = None, messageRouter: Option[MessageRouter] = None, messageRoutingMode: Option[MessageRoutingMode] = None, producerName: Option[String] = None, sendTimeout: Option[FiniteDuration] = None, compressionType: Option[CompressionType] = None) extends Product with Serializable
-
-
class
ProducerInterceptorAdapter[T] extends org.apache.pulsar.client.api.ProducerInterceptor[T]
-
-
-
case class
ProducerName(name: String) extends Product with Serializable
-
case class
PublishTime(value: Long) extends Product with Serializable
-
-
case class
PulsarClientConfig(serviceUrl: String, allowTlsInsecureConnection: Option[Boolean] = None, authentication: Option[Authentication] = None, connectionsPerBroker: Option[Int] = None, enableTcpNoDelay: Option[Boolean] = None, enableTls: Option[Boolean] = None, enableTlsHostnameVerification: Option[Boolean] = None, listenerThreads: Option[Int] = None, maxConcurrentLookupRequests: Option[Int] = None, maxNumberOfRejectedRequestPerConnection: Option[Int] = None, operationTimeout: Option[FiniteDuration] = None, keepAliveInterval: Option[FiniteDuration] = None, statsInterval: Option[FiniteDuration] = None, maxLookupRequests: Option[Int] = None, tlsTrustCertsFilePath: Option[String] = None, ioThreads: Option[Int] = None) extends Product with Serializable
-
case class
PulsarTopic(mode: String, tenant: String, namespace: String, topic: String) extends Product with Serializable
-
trait
Reader[T] extends Closeable
-
case class
ReaderConfig(topic: Topic, seek: MessageId, receiverQueueSize: Option[Int] = None, reader: Option[String] = None, readCompacted: Option[Boolean] = None) extends Product with Serializable
-
case class
SequenceId(value: Long) extends Product with Serializable
-
case class
Subscription(name: String) extends Product with Serializable
-
case class
Topic(name: String) extends Product with Serializable
-
case class
TopicPartition(name: String) extends Product with Serializable
Inherited from AnyRef
Inherited from Any