Authority DI Events Migration: mod-inventory → mod-entities-links
Authority DI Events Migration: mod-inventory → mod-entities-links
Related Jira: APPAUTHREC-3 Module version: mod-entities-links v5.0.0
Overview
Starting from mod-entities-links v5.0.0, the responsibility for consuming Authority-related Data Import (DI) Kafka events has been moved from mod-inventory to mod-entities-links. This eliminates the intermediate hop through mod-inventory and brings Authority record processing closer to its natural domain boundary.
The outdated Authority DI event handling code has already been removed from mod-inventory — no coordination with the mod-inventory team is required.
Previous flow:
data-import → Kafka → mod-inventory → (HTTP) → mod-entities-linksNew flow:
data-import → Kafka → mod-entities-linksRequired Actions for Operators
Migrate the AUTHORITY_EXTENDED Environment Variable
The AUTHORITY_EXTENDED environment variable was previously set on mod-inventory. It must now be set on mod-entities-links instead.
Action: Copy the current value of AUTHORITY_EXTENDED from your mod-inventory deployment and add it to your mod-entities-links deployment configuration.
Kafka Topics Reference
mod-entities-links automatically creates and subscribes to all required Kafka topics on startup — no manual topic management is needed.
Topics published:
Topic name (pattern) | Partitions (default) |
|---|---|
| 8 |
| 8 |
Topics consumed:
Topic name pattern |
|---|
|
|
|
|
|
The number of partitions and replication factor for published topics can be tuned via the environment variables listed in the next section.
Environment Variable Changes
New Environment Variables
The following environment variables have been introduced in mod-entities-links v5.0.0:
Variable | Default | Description |
|---|---|---|
|
| Number of concurrent consumers for DI authority events |
|
| Number of concurrent consumers for canceled DI job events |
|
| Number of partitions for the |
| (broker default) | Replication factor for the |
|
| Number of partitions for the |
| (broker default) | Replication factor for the |
|
| Maximum number of canceled job IDs to cache |
|
| Time-to-live for cached canceled job IDs |
Migrated Environment Variables
The following variable was previously configured on mod-inventory and must now be configured on mod-entities-links:
Variable | Description |
|---|---|
| Enables extended MARC-to-Authority mapping rules. Move this value from your |
Unchanged Environment Variables
All other previously defined environment variables remain valid and unchanged. No existing variables have been removed or renamed.
Related Issues
APPAUTHREC-3 — Authority refactoring: move consumption of DI events from mod-inventory