Skip to content

Commit

Permalink
bla
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Jan 21, 2024
1 parent 5eb208d commit 5184207
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ void listener(CloudEvent cloudEvent) throws IOException {
private void messageReadEvent(CloudEvent cloudEvent) throws IOException {
log.info("Making application event....");
MessageReadEventDto messageReadEventDto = objectMapper.readValue(cloudEvent.getData().toBytes(), MessageReadEventDto.class);
log.info("Got this: {}", messageReadEventDto);
MessageReadEvent messageReadEvent = new MessageReadEvent();
messageReadEvent.setMessageId(messageReadEventDto.messageId);
messageReadEvent.setReaderId(messageReadEventDto.readerId);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package net.dancier.kikeriki.adapter.in.kafka;

import lombok.Data;

@Data
public class MessageReadEventDto {

boolean read;
Expand Down

0 comments on commit 5184207

Please sign in to comment.