object KafkaUtils extends KafkaUtils
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KafkaUtils
- KafkaUtils
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
azureEventHubsUrl: String
- Definition Classes
- KafkaUtils
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
createKafkaAdminClient(kafkaConfig: KafkaConfig): Admin
- Definition Classes
- KafkaUtils
-
val
defaultTimeoutMillis: Int
- Definition Classes
- KafkaUtils
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
producerCallback(promise: Promise[RecordMetadata]): Callback
- Definition Classes
- KafkaUtils
-
def
readLastMessages(topic: ForSource, size: Int, config: KafkaConfig): List[ConsumerRecord[Array[Byte], Array[Byte]]]
- Definition Classes
- KafkaUtils
-
def
sanitizeClientId(originalId: String): String
- Definition Classes
- KafkaUtils
-
def
sendToKafka[K, V](record: ProducerRecord[K, V])(producer: Producer[K, V]): Future[RecordMetadata]
- Definition Classes
- KafkaUtils
-
def
sendToKafka[K, V](topic: String, key: K, value: V)(producer: Producer[K, V]): Future[RecordMetadata]
- Definition Classes
- KafkaUtils
-
def
sendToKafkaWithTempProducer(record: ProducerRecord[Array[Byte], Array[Byte]])(kafkaProducerCreator: KafkaProducerCreator[Array[Byte], Array[Byte]]): Future[RecordMetadata]
- Definition Classes
- KafkaUtils
-
def
sendToKafkaWithTempProducer(topic: String, key: Array[Byte], value: Array[Byte])(kafkaProducerCreator: KafkaProducerCreator[Array[Byte], Array[Byte]]): Future[RecordMetadata]
- Definition Classes
- KafkaUtils
-
def
setClientId(props: Properties, id: String): Unit
- Definition Classes
- KafkaUtils
-
def
setIsolationLevelIfAbsent(consumerProperties: Properties, isolationLevel: IsolationLevel): Unit
- Definition Classes
- KafkaUtils
-
def
setOffsetToLatest(topic: String, groupId: String, config: KafkaConfig): Unit
- Definition Classes
- KafkaUtils
-
def
setToLatestOffsetIfNeeded(config: KafkaConfig, topic: ForSource, consumerGroupId: String): Unit
- Definition Classes
- KafkaUtils
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toConsumerProperties(config: KafkaConfig, groupId: Option[String]): Properties
- Definition Classes
- KafkaUtils
-
def
toProducerProperties(config: KafkaConfig, clientId: String): Properties
- Definition Classes
- KafkaUtils
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
usingAdminClient[T](kafkaConfig: KafkaConfig)(adminClientOperation: (Admin) ⇒ T): T
- Definition Classes
- KafkaUtils
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.