You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/11/20 01:33:09 UTC
[GitHub] [incubator-dolphinscheduler] chakench opened a new issue #4086: [Feature][Node Type] Can MQ nodes be supported
chakench opened a new issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086
On our project, we want to use DS to support nodes like MQ.
For example, There are three nodes, A-> B -> C, A is MQ consumption node, B,C is processing node (maybe HTTP business logic processing node), as long as A listens to the message, B,C will run once.
For MQ, it can be any type of MQ, but **Spring Cloud Stream** is better. MQ messages will be around **10,000 to 20,000 a da**y, so support a bit more concurrency
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086#issuecomment-730797114
> > Hi, this doesn't look like a scheduler task, I think what you should think about is whether it is placed in DS?
>
> This should be a Scheduler Task and is used in a lot of situations. In the business process, there is an MQ node, and the subsequent nodes are the corresponding HTTP processing nodes. In this way, the business process can be dynamically choreographed in the way of DAG, without the need for hard coding。
hi, maybe I didn't understand what you mean. My question is: Since it can pass http, why use mq? There is no benefit in adding a layer of links, but the overall maintenance cost will increase, and the predictability of scheduling will be reduced. As for concurrency, I think this is not what DS needs to consider. DS calls A. If A cannot guarantee his throughput, then A should consider expansion or other methods. MQ is definitely not the best solution.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] gabrywu commented on issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
gabrywu commented on issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086#issuecomment-730803276
@chakench No, I think it's not so normal for a scheduling system.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] chakench commented on issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
chakench commented on issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086#issuecomment-730802740
> > > Hi, this doesn't look like a scheduler task, I think what you should think about is whether it is placed in DS?
> >
> >
> > This should be a Scheduler Task and is used in a lot of situations. In the business process, there is an MQ node, and the subsequent nodes are the corresponding HTTP processing nodes. In this way, the business process can be dynamically choreographed in the way of DAG, without the need for hard coding。
>
> hi, maybe I didn't understand what you mean. My question is: Since it can pass http, why use mq? There is no benefit in adding a layer of links, but the overall maintenance cost will increase, and the predictability of scheduling will be reduced. As for concurrency, I think this is not what DS needs to consider. DS calls A. If A cannot guarantee his throughput, then A should consider expansion or other methods. MQ is definitely not the best solution.
The reason for using MQ is to act as an event trigger and then trigger subsequent HTTP nodes to take MQ messages for business processing, which is quite normal for scheduling
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] chakench commented on issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
chakench commented on issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086#issuecomment-730792757
> Hi, this doesn't look like a scheduler task, I think what you should think about is whether it is placed in DS?
This should be a Scheduler Task and is used in a lot of situations. In the business process, there is an MQ node, and the subsequent nodes are the corresponding HTTP processing nodes. In this way, the business process can be dynamically choreographed in the way of DAG, without the need for hard coding。
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086#issuecomment-731575095
hi, if you really need this, I suggest you expand it yourself. Or you can submit a PR. The discussion will be closed and you can reopen it when you have a good design. Thank you very much for the discussion. Thx
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] gabrywu commented on issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
gabrywu commented on issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086#issuecomment-730802474
Wellcome to create a PR to add the new feature if you really want it @chakench
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] CalvinKirs closed issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #4086: [Feature][Node Type] Can MQ nodes be supported
Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #4086:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4086#issuecomment-730790537
Hi, this doesn't look like a scheduler task, I think what you should think about is whether it is placed in DS?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org