| Package | Description |
|---|---|
| io.virtualan.cucumblan.core.msg.kafka | |
| io.virtualan.cucumblan.message.type | |
| io.virtualan.cucumblan.message.typeimpl |
| Modifier and Type | Method and Description |
|---|---|
static MessageType |
KafkaConsumerClient.getEvent(EventRequest eventRequest)
Gets event.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,MessageType> |
MessageContext.getMessageTypes()
Gets message types.
|
| Modifier and Type | Method and Description |
|---|---|
MessageType |
MessageType.buildConsumerMessage(org.apache.kafka.clients.consumer.ConsumerRecord<T,TT> record,
T key,
TT value)
Build message while consuming the message
for your specific needs Refer io.virtualan.cucumblan.message.typeimpl.JSONMessage
|
MessageType |
MessageType.buildProducerMessage(Object tt)
Build message object build logic for the application specific need.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JSONMessage
The type Json message.
|
| Modifier and Type | Method and Description |
|---|---|
MessageType |
JSONMessage.buildConsumerMessage(org.apache.kafka.clients.consumer.ConsumerRecord<Integer,String> record,
Integer key,
String body) |
MessageType |
JSONMessage.buildProducerMessage(Object messages) |
Copyright © 2021. All rights reserved.