Class

com.datastax.spark.connector.embedded

EmbeddedKafka

Related Doc: package embedded

Permalink

final class EmbeddedKafka extends Embedded

Linear Supertypes
Embedded, Assertions, Serializable, Serializable, EmbeddedIO, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EmbeddedKafka
  2. Embedded
  3. Assertions
  4. Serializable
  5. Serializable
  6. EmbeddedIO
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EmbeddedKafka()

    Permalink
  2. new EmbeddedKafka(groupId: String)

    Permalink
  3. new EmbeddedKafka(kafkaParams: Map[String, 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. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to any2stringadd[EmbeddedKafka] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (EmbeddedKafka, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to ArrowAssoc[EmbeddedKafka] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def awaitCond(p: ⇒ Boolean, max: Duration = 3.seconds, interval: Duration = 100.millis, message: String = ""): Unit

    Permalink

    Await until the given condition evaluates to true or the timeout expires, whichever comes first.

    Await until the given condition evaluates to true or the timeout expires, whichever comes first. If no timeout is given, take it from the innermost enclosing within block.

    Definition Classes
    Assertions
  8. def awaitPropagation(topic: String, partition: Int, timeout: Duration): Unit

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def closeAfterUse[T, C <: AnyRef { def close(): Unit }](closeable: C)(code: (C) ⇒ T): T

    Permalink

    Automatically closes resource after use.

    Automatically closes resource after use. Handy for closing streams, files, sessions etc. Similar to try-with-resources in Java 7.

    Definition Classes
    EmbeddedIO
  11. def copyTextFileWithVariableSubstitution(source: InputStream, target: OutputStream, map: (String) ⇒ String): Unit

    Permalink

    Copies a text file substituting every occurrence of $ {VARIABLE} with a value from the given map

    Copies a text file substituting every occurrence of $ {VARIABLE} with a value from the given map

    Definition Classes
    EmbeddedIO
  12. def createTempDir: File

    Permalink
    Definition Classes
    EmbeddedIO
  13. def createTopic(topic: String, numPartitions: Int = 1, replicationFactor: Int = 1): Unit

    Permalink
  14. def deleteRecursively(file: File): Unit

    Permalink
    Definition Classes
    EmbeddedIO
  15. def ensuring(cond: (EmbeddedKafka) ⇒ Boolean, msg: ⇒ Any): EmbeddedKafka

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to Ensuring[EmbeddedKafka] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (EmbeddedKafka) ⇒ Boolean): EmbeddedKafka

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to Ensuring[EmbeddedKafka] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): EmbeddedKafka

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to Ensuring[EmbeddedKafka] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): EmbeddedKafka

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to Ensuring[EmbeddedKafka] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to StringFormat[EmbeddedKafka] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hasRootAsShutdownDeleteDir(file: File): Boolean

    Permalink
    Definition Classes
    EmbeddedIO
  25. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  27. def isSymlink(file: File): Boolean

    Permalink
    Definition Classes
    EmbeddedIO
  28. val kafkaConfig: KafkaConfig

    Permalink
  29. val kafkaParams: Map[String, String]

    Permalink
  30. def listFilesSafely(file: File): Seq[File]

    Permalink
    Definition Classes
    EmbeddedIO
  31. def mkdir(dir: File): File

    Permalink

    Makes a new directory or throws an IOException if it cannot be made

    Makes a new directory or throws an IOException if it cannot be made

    Definition Classes
    EmbeddedIO
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def now: FiniteDuration

    Permalink

    Obtain current time (System.nanoTime) as Duration.

    Obtain current time (System.nanoTime) as Duration.

    Definition Classes
    Assertions
  36. def produceAndSendMessage(topic: String, sent: Map[String, Int]): Unit

    Permalink
  37. val producer: Producer[String, String]

    Permalink
  38. val producerConfig: ProducerConfig

    Permalink
  39. def registerShutdownDeleteDir(file: File): Unit

    Permalink
    Definition Classes
    EmbeddedIO
  40. def remainingOr(duration: FiniteDuration): FiniteDuration

    Permalink

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the given duration.

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the given duration.

    Definition Classes
    Assertions
  41. def remainingOrDefault: FiniteDuration

    Permalink

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the properly dilated default for this case from settings (key "akka.test.single-expect-default").

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the properly dilated default for this case from settings (key "akka.test.single-expect-default").

    Definition Classes
    Assertions
  42. val server: KafkaServer

    Permalink
  43. def shutdown(): Unit

    Permalink
  44. val shutdownDeletePaths: HashSet[String]

    Permalink
    Definition Classes
    EmbeddedIO
  45. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def waitForPortOpen(host: InetAddress, port: Int, timeout: Long): Boolean

    Permalink

    Waits until a port at the given address is open or timeout passes.

    Waits until a port at the given address is open or timeout passes.

    returns

    true if managed to connect to the port, false if timeout happened first

    Definition Classes
    EmbeddedIO
  51. def [B](y: B): (EmbeddedKafka, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to ArrowAssoc[EmbeddedKafka] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Embedded

Inherited from Assertions

Inherited from Serializable

Inherited from Serializable

Inherited from EmbeddedIO

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from EmbeddedKafka to any2stringadd[EmbeddedKafka]

Inherited by implicit conversion StringFormat from EmbeddedKafka to StringFormat[EmbeddedKafka]

Inherited by implicit conversion Ensuring from EmbeddedKafka to Ensuring[EmbeddedKafka]

Inherited by implicit conversion ArrowAssoc from EmbeddedKafka to ArrowAssoc[EmbeddedKafka]

Ungrouped