[UXPROD-3380] Add Kafka Message Queues to Select Circulation Storage Record Types Created: 21/Oct/21  Updated: 05/Jul/22  Resolved: 18/Feb/22

Status: Closed
Project: UX Product
Components: None
Affects versions: None
Fix versions: Lotus (R1 2022)

Type: New Feature Priority: P1
Reporter: Brooks Travis Assignee: Brooks Travis
Resolution: Done Votes: 0
Labels: consortia, d2ir-circulation-flow, kafka, loans, requests, resourceaccess
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Cloners
is cloned by UXPROD-3503 Update Kafka Message Queues for Selec... Draft
Defines
is defined by CIRCSTORE-300 Add Kafka Domain Event Publishing to ... Closed
is defined by CIRCSTORE-302 Add Kafka Domain Event Publishing to ... Closed
is defined by CIRCSTORE-303 Add Kafka Domain Event Publishing to ... Closed
Relates
relates to CIRCSTORE-322 Review pull request for UXPROD-3380 Closed
Requires
is required by UXPROD-2782 Handle Check-In of INN-Reach Items Closed
is required by UXPROD-2783 Handle Recall of INN-Reach Loans By P... Closed
is required by UXPROD-2784 Handle "Hold" Request Cancellation (O... Closed
is required by UXPROD-2785 Handle Checkout of Local Item Request... Closed
is required by UXPROD-2787 Handle INN-Reach Borrower Renewal Req... Closed
is required by UXPROD-2788 Handle "Move Request" Action on INN-R... Closed
is required by UXPROD-2789 Handle "Claimed Returned" on INN-Reac... Closed
is required by UXPROD-2903 Handle Checkout of INN-Reach Items by... Closed
Release: Lotus R1 2022
Front End Estimate: Out of scope
Back End Estimate: XXL < 30 days
Development Team: Volaris
PO Rank: 0
Rank: Cornell (Full Sum 2021): R5

 Description   

Current situation or problem:

Systems outside of mod-circulation-storage and mod-circulation may have a requirement to react to changes in loan and request records or the creation of a new check-in record. We need to publish messages to a Kafka queue to which these modules can subscribe.

In scope

  • Add Kafka dependency to mod-circulation-storage
  • Add Kafka producers for loan-storage, request-storage and check-in-storage
    • CREATE, UPDATE, DELETE events

Out of scope

  • Kafka consumers

Use case(s):

  • mod-inn-reach needs to react to new loans, renewal of existing loans, and closing of existing loans
  • mod-inn-reach needs to react to updates to existing requests (cancellation, move)

Proposed solution/stories

  • Folijet has created a utility called Kafka wrapper (see comment at link above)

Links to additional info

Questions

If initial consumers don't need some event types (eg. DELETE, DELETE_ALL, do we want to support them initially?



 Comments   
Comment by Marc Johnson [ 24/Jan/22 ]

Brooks Travis Raman Auramau

As this work is going ahead prior to the cross app sync working group coming to a conclusion, is this work using the approach defined in the ES based inventory search PoC or the preliminary proposal from Raman Auramau in the working group?

cc: Khalilah Gambrell

Comment by Brooks Travis [ 25/Jan/22 ]

Marc Johnson That is my understanding. Dima Tkachenko is doing the implementation. The plan is to implement something more along the lines of what Raman has proposed for for the cross-app sync. There’s a separate MG feature for that.

Comment by Marc Johnson [ 25/Jan/22 ]

Brooks Travis

That is my understanding. Dmytro Tkachenko is doing the implementation. The plan is to implement something more along the lines of what Raman has proposed for for the cross-app sync. There’s a separate MG feature for that.

I'm not sure I follow that answer. I think you are saying that this feature covers an implementation like the ES based inventory search PoC and then there is a separate feature for 2022 R2 for extending that to be more like Raman's proposal?

How wrong is that interpretation?

Comment by Brooks Travis [ 25/Jan/22 ]

Marc Johnson That is the correct interpretation

Comment by Brooks Travis [ 18/Feb/22 ]

Verified in rancher

Generated at Fri Feb 09 00:31:33 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.