Packages

object ConsumerFilter extends ExtensionId[ConsumerFilter]

Extension to dynamically control the filters for the GrpcReadJournal.

Annotations
@ApiMayChange()
Source
ConsumerFilter.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsumerFilter
  2. ExtensionId
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Command extends AnyRef
  2. final case class CurrentFilter(streamId: String, criteria: Seq[FilterCriteria]) extends Product with Serializable
  3. final case class EntityIdOffset(entityId: String, seqNr: Long) extends Product with Serializable
  4. final case class ExcludeEntityIds(entityIds: Set[String]) extends FilterCriteria with Product with Serializable

    Exclude events for entities with the given entity ids, unless there is a matching include filter that overrides the exclude.

  5. final case class ExcludeRegexEntityIds(matching: Set[String]) extends FilterCriteria with Product with Serializable

    Exclude events for entities with entity ids matching the given regular expressions, unless there is a matching include filter that overrides the exclude.

  6. final case class ExcludeTags(tags: Set[String]) extends FilterCriteria with Product with Serializable

    Exclude events with any of the given tags, unless there is a matching include filter that overrides the exclude.

  7. sealed trait FilterCriteria extends AnyRef
  8. final case class GetFilter(streamId: String, replyTo: ActorRef[CurrentFilter]) extends Command with Product with Serializable
  9. final case class IncludeEntityIds(entityOffsets: Set[EntityIdOffset]) extends FilterCriteria with Product with Serializable

    Include events for entities with the given entity ids.

    Include events for entities with the given entity ids. A matching include overrides a matching exclude.

    For the given entity ids a seqNr can be defined to replay all events for the entity from the sequence number (inclusive). If seqNr is 0 events will not be replayed.

  10. final case class IncludeRegexEntityIds(matching: Set[String]) extends FilterCriteria with Product with Serializable

    Include events for entities with entity ids matching the given regular expressions.

    Include events for entities with entity ids matching the given regular expressions. A matching include overrides a matching exclude.

  11. final case class IncludeTags(tags: Set[String]) extends FilterCriteria with Product with Serializable

    Include events with any of the given tags.

    Include events with any of the given tags. A matching include overrides a matching exclude.

  12. final case class PersistenceIdOffset(persistenceIdId: String, seqNr: Long) extends Product with Serializable
  13. sealed trait RemoveCriteria extends FilterCriteria
  14. final case class RemoveExcludeEntityIds(entityIds: Set[String]) extends RemoveCriteria with Product with Serializable

    Remove a previously added ExcludeEntityIds.

  15. final case class RemoveExcludeRegexEntityIds(matching: Set[String]) extends RemoveCriteria with Product with Serializable

    Remove a previously added ExcludeRegexEntityIds.

  16. final case class RemoveExcludeTags(tags: Set[String]) extends RemoveCriteria with Product with Serializable

    Remove a previously added ExcludeTags.

  17. final case class RemoveIncludeEntityIds(entityIds: Set[String]) extends RemoveCriteria with Product with Serializable

    Remove a previously added IncludeEntityIds.

  18. final case class RemoveIncludeRegexEntityIds(matching: Set[String]) extends RemoveCriteria with Product with Serializable

    Remove a previously added IncludeRegexEntityIds.

  19. final case class RemoveIncludeTags(tags: Set[String]) extends FilterCriteria with Product with Serializable

    Remove a previously added IncludeTags.

  20. final case class Replay(streamId: String, persistenceIdOffsets: Set[PersistenceIdOffset]) extends SubscriberCommand with Product with Serializable

    Explicit request to replay events for given entities.

  21. sealed trait SubscriberCommand extends Command
  22. final case class UpdateFilter(streamId: String, criteria: Seq[FilterCriteria]) extends SubscriberCommand with Product with Serializable

    Add or remove filter criteria.

    Add or remove filter criteria.

    Exclude criteria are evaluated first. If no matching exclude criteria the event is emitted. If an exclude criteria is matching the include criteria are evaluated. If no matching include criteria the event is discarded. If matching include criteria the event is emitted.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def apply(system: ActorSystem[_]): ConsumerFilter
    Definition Classes
    ExtensionId
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def createExtension(system: ActorSystem[_]): ConsumerFilter
    Definition Classes
    ConsumerFilter → ExtensionId
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  10. def get(system: ActorSystem[_]): ConsumerFilter

    Java API: retrieve the extension instance for the given system.

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  13. def id: ExtensionId[ConsumerFilter]
    Definition Classes
    ExtensionId
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. object ExcludeEntityIds extends Serializable
  24. object IncludeEntityIds extends Serializable
  25. object RemoveExcludeEntityIds extends Serializable
  26. object RemoveIncludeEntityIds extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ExtensionId[ConsumerFilter]

Inherited from AnyRef

Inherited from Any

Ungrouped