Class

com.tuplejump.embedded.kafka

EmbeddedKafka

Related Doc: package kafka

Permalink

final class EmbeddedKafka extends Settings with Assertions with Logging

Linear Supertypes
Logging, StrictLogging, Assertions, Settings, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EmbeddedKafka
  2. Logging
  3. StrictLogging
  4. Assertions
  5. Settings
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EmbeddedKafka()

    Permalink
  2. new EmbeddedKafka(kafkaConnect: String, zkConnect: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def brokerConfig(kafkaConnect: String, zkConnect: String, logDir: String): Map[String, String]

    Permalink
    Definition Classes
    Settings
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val config: Map[String, String]

    Permalink
  8. def consumerConfig(group: String, kafkaConnect: String, zkConnect: String, offsetPolicy: String, autoCommitEnabled: Boolean, kDeserializer: Class[_], vDeserializer: Class[_]): Map[String, String]

    Permalink

    offsetPolicy = latest,earliest,none

    offsetPolicy = latest,earliest,none

    Definition Classes
    Settings
  9. def createTopic(topic: String, numPartitions: Int, replicationFactor: Int): Unit

    Permalink

    Creates a Kafka topic and waits until it is propagated to the cluster.

  10. val dataDir: File

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def eventually[T](timeout: Long, interval: Long)(func: ⇒ T): T

    Permalink
    Definition Classes
    Assertions
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isRunning: Boolean

    Permalink
  19. val kafkaConfig: KafkaConfig

    Permalink
  20. def kafkaParams(group: String, kafkaConnect: String, zkConnect: String, offsetPolicy: String, autoCommitEnabled: Boolean, kDeserializer: Class[_], vDeserializer: Class[_]): Map[String, String]

    Permalink
    Definition Classes
    Settings
  21. val logDir: File

    Permalink
  22. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  23. def mapToProps(values: Map[String, String]): Properties

    Permalink
    Definition Classes
    Settings
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def producer: KafkaProducer[String, String]

    Permalink
  28. def producerConfig(kafkaConnect: String, kSerializer: Class[_], vSerializer: Class[_]): Map[String, String]

    Permalink
    Definition Classes
    Settings
  29. val producerConfig: ProducerConfig

    Permalink

    hard-coded for Strings only so far.

    hard-coded for Strings only so far. Roadmap: making configurable.

  30. def sendMessages(topic: String, messages: Iterable[String]): Unit

    Permalink

    Send the array of messages to the Kafka broker

  31. def sendMessages(topic: String, messageToFreq: Map[String, Int]): Unit

    Permalink

    Send the messages to the Kafka broker

  32. def server: KafkaServer

    Permalink
  33. def shutdown(): Unit

    Permalink

    Shuts down the embedded servers.

  34. val snapDir: File

    Permalink
  35. def start(): Unit

    Permalink

    Starts the embedded Zookeeper server and Kafka brokers.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from StrictLogging

Inherited from Assertions

Inherited from Settings

Inherited from AnyRef

Inherited from Any

Ungrouped