Difference between PluginCLI and PluginManager used in Plugin.bat

I am new to ES community and I have been using ES on Windows. I see that some distributions of ElasticSearch plugin.bat reference org.elasticsearch.plugins.PluginManager whereas some others reference org.elasticsearch.plugins.PluginCli. Sample plugin.bat file

@echo off

setlocal enabledelayedexpansion
setlocal enableextensions

set ES_JAVA_OPTS=--add-opens java.base/sun.security.provider=ALL-UNNAMED %ES_JAVA_OPTS%
set ES_MAIN_CLASS=org.elasticsearch.plugins.PluginCli
call "%~dp0elasticsearch-cli.bat" ^
  %%* ^
  || goto exit

exit /b %ERRORLEVEL%

What is the difference between these two? Which one is recommended for use in production environment?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.