Draft
Conversation
- Add @nullable ProcessingContext parameter to SnapshotStore.store() and SnapshotStore.load(), aligned with TokenStore's signature - Add ProcessingContext parameter to Snapshotter.store() and Snapshotter.load() (non-null, internal interface always called from within a processing context) - Pass ProcessingContext through from SnapshottingSourcingHandler to StoreBackedSnapshotter to SnapshotStore - Update InMemorySnapshotStore and AxonServerSnapshotStore implementations - Update StoreBackedSnapshotterTest and StoreBackedSnapshotterTestSuite
5100530 to
5406f37
Compare
- Add axon-multitenancy module with per-tenant infrastructure isolation for CommandBus, QueryBus, EventStore, SnapshotStore, and event processors - Add axon-multitenancy-axon-server module for dynamic tenant discovery from Axon Server contexts with runtime add/remove support - Add MultiTenantEventProcessorModule with same fluent API as core PooledStreamingEventProcessorModule - Add TenantResolverRegistry for per-message-type tenant resolution, aligned with DispatchInterceptorRegistry pattern from the core - Add TenantComponentFactory with subtype resolution for automatic per-tenant dependency injection into message handlers - Add TenantDescriptor parameter injection into handlers - Add MetadataBasedTenantResolver for out-of-the-box tenant routing - Add JDBC and JPA TenantTokenStoreFactory implementations - Add Spring Boot autoconfig (MultiTenancyAutoConfiguration) that swaps standard processors with multi-tenant variants via ProcessorModuleFactory - Add ConfigurationEnhancer SPI (MultiTenancyConfigurationDefaults) as single source of truth for multi-tenancy wiring - Add multitenancy-guide documentation with getting-started walkthrough, event processor config, tenant component patterns, and Axon Server integration - Add hints in reference guide (streaming processors, spring boot integration, modules, rdbms tuning, known issues) - 186 unit and integration tests
5406f37 to
4c0928a
Compare
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.
Summary
Dependencies
This PR depends on the snapshot store processing context propagation changes (commit
9674ad5fd9) which are part of an ongoing discussion. Not ready for merge until that is resolved.Test plan