You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/07/13 22:32:14 UTC
[GitHub] sijie opened a new pull request #2160: Add numFunctionWorkers and
externalServices to cluster spec
sijie opened a new pull request #2160: Add numFunctionWorkers and externalServices to cluster spec
URL: https://github.com/apache/incubator-pulsar/pull/2160
*Motivation*
This change is a refactor for adding connectors related integration tests.
ClusterSpec is used for defining how a cluster looks like for integration
testing. Add `numFunctionWorker` and `externalServices` in cluster spec,
so we have a common place for setting up a cluster.
*Changes*
- `numFunctionWorkers`: define how many function workers to run in the cluster. When a cluster is created from the cluster spec, it will start
the same number of worker containers.
- `functionRuntimeType`: define how the worker will invoke functions,
whether it is in process mode or thread mode.
- `externalServices`: define whether there are more external services to
run along with the cluster. for example, we need cassandra or kafka for
testing connectors, and we need s3 mock for testing offloaders.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services