PubSub deprecation - remove PubSub support, switch to Kafka

Description

This story covers the second part of the "Phase 1 implementation plan" described in the PubSub deprecation plan.

  • Remove all PubSub dependencies (mod-pubsub-client).

  • Remove the MessagingDescriptor file.

  • Remove endpoints that handle PubSub events from the ModuleDescriptor (that's a breaking change!).

  • Remove all the code that registers or unregisters a module as a publisher or a subscriber of PubSub event types. Most likely, this code will be a part of the _tenant API. Replace it with the code that creates Kafka topics using KafkaAdminClientService. 

  • Replace the code that publishes PubSub events with Kafka message producing.

  • Replace the code that consumes PubSub events with Kafka message consuming.

In scope:

  • PubSub functionality removal

  • Producing and consuming Kafka messages

Note: All functionality that depends on PubSub may be affected, including: patron blocks, circulation logs, loans being closed based on fee/fine payments.
Note: This is a breaking change.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Mike Taylor June 8, 2023 at 9:48 AM

Thanks, , that's helpful.

Stephanie Buck June 7, 2023 at 7:53 PM

Hi . Please take a look at the linked feature. The feature is in draft form as plans are not complete, and we're unsure when or if this work will occur. These stories are results of a spike investigating effort. 

Mike Taylor June 7, 2023 at 7:43 AM

What is the purpose of this breaking change?

Details

Assignee

Reporter

Priority

Story Points

Development Team

Vega

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 26, 2023 at 1:30 PM
Updated June 8, 2023 at 9:48 AM
TestRail: Cases
TestRail: Runs