trait MonitorMatchFinder extends AnyRef
In the Kafka Detective world, a MonitorMatchFinder is the interface responsible for determining
what mesages in the given referenceWindow should be a match for the given testMessage. The
match finder provides a find method that can return any one of a few different results.
Specifically, those results are:
- A FoundMatch instance if a message that should match is found in the
referenceWindow - A NoMatchFound instance if there should have been a message that would match, but there wasn't
- An IgnoreMessage instance if, based on the key, we chose not to try to find a match
Each of these situations will be reported out to the various configured MonitorReporters by Detective.
Instances of this class should have a zero-arg constructor.
- Alphabetic
- By Inheritance
- MonitorMatchFinder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
find(testMessage: MonitorObjectEnvelope, referenceWindow: Seq[MonitorObjectEnvelope]): MonitorMatchFindResult
Looks for a reference message in the provided
referenceWindowthat should match the giventestMessage.Looks for a reference message in the provided
referenceWindowthat should match the giventestMessage.- testMessage
The message that came from the test topic
- referenceWindow
The window of messages available for consideration from the reference topic
- returns
A MonitorMatchFindResult based on whether or not a match was found.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )