-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[posproal] Concurrent push #72
Comments
Introducing a new concept must be cautious, what is the meaning of WorkerTask in EB? |
WorkerTask is a wrapper class for SinkTask, where data was pushed in WorkerTask. |
What is the difference between WorkerSinkTask and WorkerTask? |
we only need WorkerSinkTask to suffice. |
For WorkerSinkTask, we can consider redefining a more accurate name |
WorkerTask is an abstract class, and WorkerSinkTask is the implementation class of WorkerTask |
WorkerSinkTask is referenced by RocketMQ Connect project? |
Background&Motivation
What needs to be done
ConcurrentHashMap<String,BlockingQueue<ConnectRecord>>
Why do this
What benefits are bred
How to achieve it
EventTargetPusher
to execute sinkTask can refer to Connect'sWorkerTask'
implementation,
targetQueue`,`targetQueue`in` CirculatorContext`,Consider using`ConcurrentHashMap<String,BlockingQueue>`org.apache.rocketmq.eventbridge.adapter.runtimer.boot.EventTargetPusher#run
method.checkSubmittedTasks
The text was updated successfully, but these errors were encountered: