case class DefaultConsumerMessage[T](key: Option[String], value: T, data: Array[Byte], props: Map[String, String], messageId: MessageId, sequenceId: SequenceId, producerName: ProducerName, publishTime: PublishTime, eventTime: EventTime, topic: Topic) extends ConsumerMessage[T] with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version 2.4.6) Use ConsumerMessageWithValueTry
- Alphabetic
- By Inheritance
- DefaultConsumerMessage
- Serializable
- Serializable
- Product
- Equals
- ConsumerMessage
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DefaultConsumerMessage(key: Option[String], value: T, data: Array[Byte], props: Map[String, String], messageId: MessageId, sequenceId: SequenceId, producerName: ProducerName, publishTime: PublishTime, eventTime: EventTime, topic: Topic)
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
data: Array[Byte]
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
eventTime: EventTime
Returns the application specified event time for this message.
Returns the application specified event time for this message. If no event time was specified then this will return an event time of 0.
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
key: Option[String]
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
val
messageId: MessageId
Get the unique MessageId associated with this message.
Get the unique MessageId associated with this message. The message id can be used to univocally refer to a message without having the keep the entire payload in memory.
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
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()
-
val
producerName: ProducerName
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
val
props: Map[String, String]
Return the properties attached to the message.
Return the properties attached to the message. Properties are application defined key/value pairs that will be attached to the message.
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
val
publishTime: PublishTime
Get the publish time of this message.
Get the publish time of this message. The publish time is the timestamp that a client published the message.
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
val
sequenceId: SequenceId
Get the sequence id associated with this message.
Get the sequence id associated with this message.
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
topic: Topic
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
val
value: T
- Definition Classes
- DefaultConsumerMessage → ConsumerMessage
-
def
valueTry: Try[T]
- Definition Classes
- ConsumerMessage
-
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.