EventChannel

lepus.std.EventChannel$

EventChannel implements a pubsub topology for events.

In this topology, peers publish or subscribe to certain communication channels (logical streams of data). In this topology every consumer gets a copy of data, which is in contrast to previous topologies where a single piece of data is routed to exactly one peer. This topology guarantees at least one delivery of messages.

Attributes

Source:
EventChannel.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class InvalidTopicName(msg: String) extends RuntimeException

Attributes

Source:
EventChannel.scala
Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any

Value members

Concrete methods

def consumer[F[_], T](topic: TopicDefinition[T], queue: Option[QueueName], topics: TopicSelector*)(ch: Channel[F, NormalMessagingChannel[F]])(using F: Concurrent[F]): F[EventConsumer[F, T]]

consumer peer in lepus.std.EventChannel topology

consumer peer in lepus.std.EventChannel topology

Attributes

Source:
EventChannel.scala
def consumer[F[_] : Concurrent, T](topic: TopicDefinition[T], ch: Channel[F, NormalMessagingChannel[F]], queue: QueueName, topics: TopicSelector*): F[EventConsumer[F, T]]

Attributes

Source:
EventChannel.scala
def consumer[F[_] : Concurrent, T](topic: TopicDefinition[T], ch: Channel[F, NormalMessagingChannel[F]], topics: TopicSelector*): F[EventConsumer[F, T]]

Attributes

Source:
EventChannel.scala
def publisher[F[_] : Clock, T](topic: TopicDefinition[T], ch: Channel[F, NormalMessagingChannel[F]]): F[EventPublisher[F, T]]

publisher peer in lepus.std.EventChannel topology

publisher peer in lepus.std.EventChannel topology

Attributes

Source:
EventChannel.scala