Custom SequencingPolicy cannot be configured programmatically
See original GitHub issueBasic information
- Axon Framework version: 4.6.1 (works as expected in 4.5.x)
- JDK version: 17
- Complete executable reproducer if available (e.g. GitHub Repo):
Steps to reproduce
Register a custom sequencing policy for an event processor, e.g. using Spring as follows:
@Autowired
fun configureFirestoreSequencingPolicy(config: EventProcessingConfigurer) {
config.registerSequencingPolicy("my-processing-group") {
PropertySequencingPolicy
.builder(UserOperationEvent::class.java, String::class.java)
.propertyName(UserOperationEvent::aggregateId.name)
.fallbackSequencingPolicy(SequentialPerAggregatePolicy())
.build()
}
}
Expected behaviour
The sequencing policy should be used for alle events within that processing group.
Actual behaviour
The default SequentialPerAggregatePolicy
is used instead.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How Axon framework's sequencing policy works in terms of ...
All policies must implement the SequencingPolicy interface. This interface defines a single method, getSequenceIdentifierFor, that returns ...
Read more >Reference Guide
All components can be configured programmatically and do not require Spring ... When using Spring, the easiest way to create a custom Command...
Read more >Custom SequencingPolicy
Is the best way to do this writing a custom SequencingPolicy? If the answer to the above question ... This policy is configured...
Read more >S-1 - SEC.gov
These securities may not be sold until the registration statement filed with ... Our product is highly customizable and provides an optimized experience...
Read more >6 Oracle JDeveloper 10g
Section 6.3.8, "Custom JClient Error Handler Dialog Migration" ... JDeveloper or other tools may not compile correctly after migrating to Oracle JDeveloper ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @smcvb and sorry for the inconvenience and confusion I caused with that issue.
No worries! Your input is much appreciated. 😃 At the very least, somebody who encounters a similar issue might hit this topic, finding a solution to their problem.