Skip to content

Commit

Permalink
ES-1929 (#1007)
Browse files Browse the repository at this point in the history
Signed-off-by: ase-101 <[email protected]>
  • Loading branch information
ase-101 authored Nov 18, 2024
1 parent 7e63ff6 commit a71d5ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ protected void addEntryInLinkAuthCodeStatusDeferredResultMap(String key, Deferre
LINK_AUTH_CODE_STATUS_DEFERRED_RESULT_MAP.put(key, deferredResult);
}

@KafkaListener(id = "link-status-consumer", autoStartup = "${kafka.enabled:true}", topics = "${mosip.esignet.kafka.linked-session.topic}")
@KafkaListener(id = "${spring.kafka.consumer.group-id}"+"-link-status", autoStartup = "${kafka.enabled:true}", topics = "${mosip.esignet.kafka.linked-session.topic}")
public void consumeLinkStatus(String linkCodeHash) {
DeferredResult deferredResult = LINK_STATUS_DEFERRED_RESULT_MAP.get(linkCodeHash);
if(deferredResult != null) {
Expand All @@ -156,7 +156,7 @@ public void consumeLinkStatus(String linkCodeHash) {
}
}

@KafkaListener(id = "link-auth-code-status-consumer", autoStartup = "${kafka.enabled:true}", topics = "${mosip.esignet.kafka.linked-auth-code.topic}")
@KafkaListener(id = "${spring.kafka.consumer.group-id}"+"-linked-auth-code", autoStartup = "${kafka.enabled:true}", topics = "${mosip.esignet.kafka.linked-auth-code.topic}")
public void consumeLinkAuthCodeStatus(String linkTransactionId) {
DeferredResult deferredResult = LINK_AUTH_CODE_STATUS_DEFERRED_RESULT_MAP.get(linkTransactionId);
if(deferredResult != null) {
Expand Down

0 comments on commit a71d5ef

Please sign in to comment.