Packages

object EventProducer

The event producer implementation that can be included a gRPC route in an Akka HTTP server.

Source
EventProducer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventProducer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class EventProducerSource extends AnyRef

  2. final class Transformation extends AnyRef

    Transformation of events to the external (public) representation.

    Transformation of events to the external (public) representation. Events can be excluded by mapping them to None.

Value Members

  1. def grpcServiceHandler(sources: Set[EventProducerSource], interceptor: Option[EventProducerInterceptor])(implicit system: ActorSystem[_]): PartialFunction[HttpRequest, Future[HttpResponse]]

    The gRPC route that can be included in an Akka HTTP server.

    The gRPC route that can be included in an Akka HTTP server.

    sources

    All sources that should be available from this event producer

    interceptor

    An optional request interceptor applied to each request to the service

  2. def grpcServiceHandler(sources: Set[EventProducerSource])(implicit system: ActorSystem[_]): PartialFunction[HttpRequest, Future[HttpResponse]]

    The gRPC route that can be included in an Akka HTTP server.

    The gRPC route that can be included in an Akka HTTP server.

    sources

    All sources that should be available from this event producer

  3. def grpcServiceHandler(source: EventProducerSource)(implicit system: ActorSystem[_]): PartialFunction[HttpRequest, Future[HttpResponse]]

    The gRPC route that can be included in an Akka HTTP server.

  4. object EventProducerSource
  5. object Transformation