Repository navigation
add version-specific Kafka consumer group and tenant filtering - #396
Merged
Merged
Conversation
SvitlanaKovalova1
marked this pull request as ready for review
November 19, 2026 12:46
SvitlanaKovalova1
requested review from
PBobylev,
SerhiiNosko,
bvsharp,
dfeeney,
khandramai,
obozhko-folio and
siarhei-charniak
November 19, 2026 12:47
siarhei-charniak
approved these changes
Nov 19, 2026
add okapi.url env variable
PBobylev
requested changes
Nov 20, 2026
|
PBobylev
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Purpose
MODEXPS-317 The
mod-data-export-springconsumesdata-export.job.updateKafka events. In mixed-version deployments, multiple versions ofmod-data-export-springmay run in the same cluster. Each version must receive the event independently and process it only for tenants entitled to thatmod-data-export-springversion.Approach
Add version-specific Kafka consumer group and tenant filtering
spring.application.version(MODULE_VERSION env override, falls back to project.version)${spring.application.version}to thedata-export.job.updateconsumer group id to support mixed-version deploymentsfolio.kafka.tenant-filterconfiguration with KAFKA_TENANT_FILTER_* environment variablestenantAwareMessageFilterto thedata-export.job.updatelistenerkafkaListenerContainerFactorybecausefolio-spring-kafkaregisters a second ConsumerFactory bean (entitlementEventConsumerFactory) when tenant filtering is enabled. This caused ambiguous dependency injection and prevented the application from starting.DeployConfig.jsonScreenshots
mod-data-export-spring: