How to use the zeebe-elasticsearch-client.ZBElasticClient function in zeebe-elasticsearch-client

To help you get started, we’ve selected a few zeebe-elasticsearch-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github VilledeMontreal / workit / packages / workit-camunda / src / models / zeebe / zeebeClient.ts View on Github external
constructor(
    config: IZeebeOptions,
    @optional() client?: ZBClient,
    @optional() exporterConfig?: Partial
  ) {
    this._client = client || new ZBClient(config.baseUrl, config);
    this._config = config;
    this._exporterConfig = exporterConfig;
    if (!exporterConfig) {
      // tslint:disable-next-line: no-console
      console.log(
        "warning: no exporterConfig has been provided to Zeebe. getWorkflow and getWorkflows methods won't work. "
      );
    }
    this._exporterClient = new ZBElasticClient(new Configs(exporterConfig));
  }
  public subscribe(

zeebe-elasticsearch-client

Client (Browser and NodeJs) for Zeebe Elasticsearch exporter powered by Typescript

MIT
Latest version published 3 years ago

Package Health Score

45 / 100
Full package analysis

Popular zeebe-elasticsearch-client functions