create

Parses coordinator addresses from command-line arguments and returns a ready-to-use Server.

The arguments are supplied automatically by Airflow and are not intended to be constructed by hand:

  • --comm host:port address for task-execution messages.

  • --logs host:port address for log forwarding.

  • --describe-sources file makes serve write a JSON object mapping each Java-declared Dag ID to the binary name of its declaring class into file and return without connecting anywhere; --comm and --logs are not required then. It is for the Gradle plugin, not for users.

Return

A configured Server ready to call serve.

Parameters

args

Command-line arguments as received by main.