Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Support task domains in the worker spring configuration#3553

Merged
v1r3n merged 2 commits intoNetflix:mainfrom
v1r3n:support_domains
Apr 20, 2023
Merged

Support task domains in the worker spring configuration#3553
v1r3n merged 2 commits intoNetflix:mainfrom
v1r3n:support_domains

Conversation

@v1r3n
Copy link
Contributor

@v1r3n v1r3n commented Mar 27, 2023

Pull Request type

  • Bugfix
  • [x ] Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
  • WHOSUSING.md
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

Allow adding domain as WorkerTask annotation.
e.g.

@WorkerTask(value = "hello_worker", pollingInterval = 100, domain="test")

Describe the new behavior from this PR, and why it's needed
Issue #

Alternatives considered

Describe alternative implementation you have considered

}

LOGGER.info("Starting workers with threadCount {}", workerToThreadCount);
LOGGER.info("Worker domains {}", workerDomains);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be combined into one log output?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to keep this separate for the visibility and since its only printed once.

@v1r3n v1r3n merged commit d39b4bf into Netflix:main Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants