Worker setting of elasticsearch output plugin

I have a question about the number of pipeline workers and elasticsearch output workers.

By default, logstash pipeline will initiate workers based on the number of cores of the server. If I have 6 cores in the server, then it will initiate 6 worker threads running. And I can also set the worker number using command line –w.

On the other hand, the output workers can be defined separately. For example, in Elasticsearch output plugin, there is a setting default workers => 1. Does it mean no matter there is already 6 workers for logstash pipeline, elasticsearch output has its own worker which is only 1 thread?

These two worker settings are related to each other or not?

I suspect the recent blog post A History of Logstash Output Workers will help you.