private static async Task <int> StartBrokerAsync(StartCliOptions opts) { var brokerOptions = new BrokerOptions(opts.Metadata, opts.Port); var program = new BrokerProgram(brokerOptions); return(await LoadAndRunProgramAsync(program).ConfigureAwait(false)); }
private static async Task <int> StartBrokerAsync(StartOptions opts) { var program = new BrokerProgram(opts.Metadata); return(await LoadAndRunProgramAsync(program).ConfigureAwait(false)); }