2

I have a question is how to create stream with multi processor. For ex:

stream create --name multiModuleTest --definition "tcp | processor1 | processor2 |file" --deploy

Or

stream create --name multiModuleTest --definition "(tcp, http) | processor1 | processor2 | (file,log)" --deploy

Please tell me how to do that? Thanks !

Tu Pham
  • 41
  • 1
  • 4

1 Answers1

1

Fire up multiple containers and use the deployment manifest to set the module count.

If you want to multiprocess within a processor instance, change the input channel to an ExecectorChannel. Docs here and here.

Gary Russell
  • 166,535
  • 14
  • 146
  • 179