com.datastax.spark.connector

embedded

package embedded

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. embedded
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Assertions extends AnyRef

    Simple helper assertions.

    Simple helper assertions. Some stolen from Akka akka.testkit.TestKit.scala for now.

  2. trait EmbeddedCassandra extends AnyRef

    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.

  3. final class EmbeddedKafka extends Embedded

  4. class EmbeddedZookeeper extends Embedded

    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.

  5. class KafkaConsumer extends AnyRef

    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.

  6. class KafkaProducer[K, V] extends AnyRef

    Simple producer using string encoder and default partitioner.

  7. abstract class KafkaProducerActor[K, V] extends Actor with ActorLogging

    Simple producer for an Akka Actor using string encoder and default partitioner.

  8. class KafkaTopicLogger extends Actor with ActorLogging

    Simple actor with a Kafka consumer to report the latest message count in a Kafka Topic.

  9. trait SparkRepl extends AnyRef

  10. trait SparkTemplate extends AnyRef

  11. implicit final class SparkTestDuration extends AnyVal

Value Members

  1. object CassandraRunner extends Serializable

  2. object EmbeddedCassandra

  3. object Event

  4. object KafkaEvent

  5. object KafkaProducer

  6. object SparkTemplate

  7. object UserDefinedProperty

  8. implicit val ZookeeperConnectionString: String

Inherited from AnyRef

Inherited from Any

Ungrouped