com.twitter.finatra.kafkastreams.test
FinatraTopologyTester
Companion class FinatraTopologyTester
object FinatraTopologyTester extends Serializable
- Alphabetic
- By Inheritance
- FinatraTopologyTester
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply(kafkaApplicationId: String, server: KafkaStreamsTwitterServer, startingWallClockTime: DateTime, flags: Map[String, String] = Map(), overrideModules: Seq[Module] = Seq(), thriftQueryable: Boolean = false, finatraTransformer: Boolean = false, emitWatermarkPerMessage: Boolean = true, autoWatermarkInterval: Duration = 0.millis): FinatraTopologyTester
FinatraTopologyTester is provides useful testing utilities integrating Kafka's TopologyTestDriver and a Finatra Streams server.
FinatraTopologyTester is provides useful testing utilities integrating Kafka's TopologyTestDriver and a Finatra Streams server.
- kafkaApplicationId
The application.id of the Kafka Streams server being tested. The application.id is used to name the changelog topics, so we recommend setting this value to the same value used in your production service
- server
A KafkaStreamsTwitterServer containing the streams topology to be tested.
- startingWallClockTime
The starting wall clock time for each individual test. Note, that publishing a message using TopologyTesterTopic#pipeInput will use the current mocked wall clock time unless an explicit publish time is specified.
- flags
Additional application level flags that you may have.
- overrideModules
Finatra override modules which redefine production bindings.
- thriftQueryable
Enable if your service is exposing queryable state using the com.twitter.finatra.streams.queryable.thrift.QueryableState trait.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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
- @throws( ... ) @native()