Skip to content

Commit

Permalink
[issue apache#1654] fix NullPointerException of broadcastEventListener
Browse files Browse the repository at this point in the history
  • Loading branch information
abcMH1966 committed Oct 21, 2022
1 parent 6fb6ab6 commit f458ce8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,8 @@ public void consume(CloudEvent event, AsyncConsumeContext context) {
.build();

String topic = event.getSubject();
String bizSeqNo =
event.getExtension(Constants.PROPERTY_MESSAGE_SEARCH_KEYS).toString();
String uniqueId = event.getExtension(Constants.RMB_UNIQ_ID).toString();
String bizSeqNo = event.getExtension(ProtocolKey.ClientInstanceKey.BIZSEQNO).toString();
String uniqueId = event.getExtension(ProtocolKey.ClientInstanceKey.UNIQUEID).toString();

if (messageLogger.isDebugEnabled()) {
messageLogger.debug("message|mq2eventMesh|topic={}|msg={}", topic, event);
Expand Down

0 comments on commit f458ce8

Please sign in to comment.