case
class Message[K, V](content: V, key: K, timestamp: Long, headers: Map[String, String], topic: String, offset: Long, partition: Int)
This may look familiar. A "generic" message type
- Companion
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any