Comments (5)
SingletonActor
has withSettings
from akka.
That accepts akka.cluster.typed.ClusterSingletonSettings
not akka.cluster.typed.ClusterSingletonManagerSettings
. We could maybe add an optional managerSettings to the akka.cluster.typed.ClusterSingletonSettings
for minimal impact.
Quite confusing, there seems to be some overlap between the two settings classes as well (role
, removalMargin
,handoverInterval
) but other settings are only in either of them (leaseSettings
, singletonName
, bufferSize
, singletonIdentificationInterval
)
from akka.
I see, what is it you are missing in ClusterSingletonSettings that would be defined in the ClusterSingletonManagerSettings?
I don't know exactly, but in classic if had a clear separation between proxy and manager, which we collapsed in Typed, but I'm not sure why we have ClusterSingletonManagerSettings. Maybe something with sharding as well.
from akka.
So we should maybe just add the settings that are in ClusterSingletonManagerSettings to ClusterSingletonSettings instead.
For the record the specific use case that lead to opening this issue was to be able to specify lease settings for a specific singleton.
from akka.
Not sure what I was talking about, leaseSettings
are in akka.cluster.typed.ClusterSingletonSettings
, not sure any of the others are important to programatically configure.
from akka.
Related Issues (20)
- Support PKCS8 and ECDSA HOT 3
- failed: EventSourcedBehaviorRetentionSpec HOT 7
- Issue with rending DurableState docs on how to write custom plugin
- Document how to test DurableState using testkit
- EventSourcedBehavior.lastSequenceNumber incorrect values after recovery HOT 2
- Update to slf4j 2.0 HOT 2
- Scaladoc description of Source.cycle is confusing and should be clarified HOT 1
- NotInfluenceReceiveTimeout does not work consistently with typed responses
- How can I resolve the CORS issue? HOT 1
- Is it great that akka can be used as a public chain?
- Source.fromJavaStream can use SplitIterator directly HOT 2
- find a bug when using scheduler() HOT 2
- Failed: ReplicatedMetricsSpec
- failed: MetricsBasedResizerSpec HOT 1
- Release 2.9.2 HOT 1
- Release 2.9.3 HOT 1
- Allow initial timer delay to be 0 HOT 3
- akka.pattern.retry tries one too many times HOT 1
- Java DSL throws exception when using `typed.javadsl.EventSourcedBehavior#lastSequenceNumber` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akka.