Comments (4)
Profile
effects what beans
are included, technically workflow classes are not beans
by intention, but I think it would be resonable here to respect Profile
. Are you aware of any other spring boot projects that apply Profile
to non beans?
from sdk-java.
Are you aware of any other spring boot projects that apply Profile to non beans?
No I haven't know whether there're such projects. I am not saying we should do that but there seems to be missing some Spring-aware configurations to dynamically disable some task queue/workers. Maybe This can be achieved by some configuration beans before starting the workers?
What I am doing now is set the auto start worker to false, and manually register the conditional workers to worker factory. Maybe this kind of operations can be configured by some beans?
from sdk-java.
Or could you give me some advice here on what's the recommend way to conditionally enable/disable workflows?
from sdk-java.
Your options currently are to use explicit configuration or put them in separate packages
from sdk-java.
Related Issues (20)
- NoClassDefFoundError: com/google/protobuf/GeneratedMessageV3 | Spring 3.3.1 HOT 4
- Add option to configure the deadline of `ChannelManager#getServerCapabilities` HOT 6
- Support "query" when listing schedules
- Test server should treat update/poll-update as long-poll HOT 1
- Better toString representations on service stub options
- Revisit local activity backpressure logic w/ no-max slot suppliers
- Generated Google proto classes are part of generated service client classes
- Support schedule search attribute update
- WorkflowTask failure because of an invalid state transition in LocalActivity state machine
- CI: Get rid of buildjet-2vcpu-ubuntu-1804 GHA runners
- Child workflow cancellation can trigger SDK event loop without a WFT Started
- Enable Nexus test server docker functional tests once 1.25 is released
- Workflow-init support HOT 1
- Include Package Version Information in manifest HOT 4
- Carry over search attributes on continue-as-new if none are explicitly specified
- Interceptor Configurations - exclusions based on workflow/activity type and task queue HOT 1
- Workflow.newExternalWorkflowStub HOT 4
- Type safe async update API
- Fix workflow start delay docs to say signal does not interrupt delay
- Schedules without a catch up window use the min catch up window instead of the default catch up window HOT 4
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 sdk-java.