Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

draw.io Diagram
bordertrue
diagramNameCPS-821
simpleViewerfalse
width1000
linksauto
tbstyletop
lboxtrue
diagramWidth1209
revision1213


Steps/possible tickets:

  1. Modify REST endpoint to include param topic (1)
  2. Add logic to send response and request (2a & 2b)
  3. Add producer to DMI (implementation and config) (31 & 3b)
  4. Add consumer to NCMP (implementation and config) (4)
    1. Ther eis already a kafka producer in NCMP (KafkaProducerListener)
  5. Demo & Test (5, 6, & 7)

...

#TypeProsConsRecommend
1FutureFutures return value
Y
2Thread
threads does not return anything as the run() method returns void. We could possibly implement mechanism to trigger a response but this is unnecessary as futures do thisN

RequestID Generation

...

TypeMethodEase of implementationRecommend
UUID
String uniqueID = UUID.randomUUID().toString();
EasyY
CustomWe generate our ownMedium - HardN
HTTP Request ID


Kafka ID



Async Request Option using Messaging (Out of Scope)

...