com.datastax.spark.connector.embedded

EmbeddedKafka

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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EmbeddedKafka()

  2. new EmbeddedKafka(groupId: String)

  3. new EmbeddedKafka(kafkaParams: Map[String, String])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

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

    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
  10. def awaitPropagation(topic: String, partition: Int, timeout: Duration): Unit

  11. def clone(): AnyRef

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

    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
  13. def copyTextFileWithVariableSubstitution(source: InputStream, target: OutputStream, map: (String) ⇒ String): Unit

    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
  14. def createTempDir: File

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

  16. def deleteRecursively(file: File): Unit

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    EmbeddedIO
  27. def hashCode(): Int

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

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

    Definition Classes
    EmbeddedIO
  30. val kafkaConfig: KafkaConfig

  31. val kafkaParams: Map[String, String]

  32. def listFilesSafely(file: File): Seq[File]

    Definition Classes
    EmbeddedIO
  33. def mkdir(dir: File): File

    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
  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. def now: FiniteDuration

    Obtain current time (System.nanoTime) as Duration.

    Obtain current time (System.nanoTime) as Duration.

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

  39. val producer: Producer[String, String]

  40. val producerConfig: ProducerConfig

  41. def registerShutdownDeleteDir(file: File): Unit

    Definition Classes
    EmbeddedIO
  42. def remainingOr(duration: FiniteDuration): FiniteDuration

    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
  43. def remainingOrDefault: FiniteDuration

    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.

    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
  44. val server: KafkaServer

  45. def shutdown(): Unit

  46. val shutdownDeletePaths: HashSet[String]

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

    Definition Classes
    AnyRef
  48. def toString(): String

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

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

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

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

    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
  53. def [B](y: B): (EmbeddedKafka, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (embeddedKafka: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (embeddedKafka: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: EmbeddedKafka

    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to ArrowAssoc[EmbeddedKafka] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (embeddedKafka: ArrowAssoc[EmbeddedKafka]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: EmbeddedKafka

    Implicit information
    This member is added by an implicit conversion from EmbeddedKafka to Ensuring[EmbeddedKafka] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (embeddedKafka: Ensuring[EmbeddedKafka]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

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 StringAdd

Inherited by implicit conversion any2stringfmt from EmbeddedKafka to StringFormat

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

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

Ungrouped