How to tell the source id in Deepstream 4.0 custom plugin

Hi,
You may not configure batch-size correctly. Please refer to

For developing the custom plugin, suggest you refer to dsexample.