-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from AxonFramework/feature/ep-control-segments
Tenant Segments for Event Processor Control
- Loading branch information
Showing
4 changed files
with
86 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
17 changes: 17 additions & 0 deletions
17
...amework/extensions/multitenancy/components/TenantEventProcessorControlSegmentFactory.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.axonframework.extensions.multitenancy.components; | ||
|
||
import java.util.function.Function; | ||
|
||
/** | ||
* Maps a tenant id to the context name for the EventProcessorControlService. | ||
* <p> | ||
* This interface is used to create a mapping between a given {@link TenantDescriptor} and a context name. | ||
* After a mapping is created, it will be used by EventProcessorControlService | ||
* to associate event processor control with the given context. | ||
* | ||
* @author Stefan Dragisic | ||
* @since 4.9.3 | ||
*/ | ||
public interface TenantEventProcessorControlSegmentFactory extends Function<TenantDescriptor, String> { | ||
|
||
} |