Simple helper assertions.
Simple helper assertions. Some stolen from Akka akka.testkit.TestKit.scala for now.
A utility trait for integration testing.
A utility trait for integration testing. Manages *one* single Cassandra server at a time and enables switching its configuration. This is not thread safe, and test suites must not be run in parallel, because they will "steal" the server.
Implements a simple standalone ZooKeeperServer.
Implements a simple standalone ZooKeeperServer. To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
Session establishment is asynchronous. This constructor will initiate connection to the server and return immediately - potentially (usually) before the session is fully established. The watcher argument specifies the watcher that will be notified of any changes in state. This notification can come at any point before or after the constructor call has returned.
The instantiated ZooKeeper client object will pick an arbitrary server from the connectString and attempt to connect to it. If establishment of the connection fails, another server in the connect string will be tried (the order is non-deterministic, as we random shuffle the list), until a connection is established. The client will continue attempts until the session is explicitly closed.
The KafkaConsumer is a very simple consumer of a single Kafka topic.
The KafkaConsumer is a very simple consumer of a single Kafka topic. This is a helpful utility for IT tests to insure data is getting published to Kafka for streaming ingestion upstream.
Simple producer using string encoder and default partitioner.
Simple producer for an Akka Actor using string encoder and default partitioner.
Simple actor with a Kafka consumer to report the latest message count in a Kafka Topic.