Skip to content

Incorrect Documentation for Worker, where it refers that options parameter provides things like DataConverter #866

Open
@Krashcan

Description

@Krashcan

This is what the documentation is for Worker constructor

/**
   * Creates worker that connects to an instance of the Cadence Service.
   *
   * @param client client to the Cadence Service endpoint.
   * @param taskList task list name worker uses to poll. It uses this name for both decision and
   *     activity task list polls.
   * @param options Options (like {@link DataConverter} override) for configuring worker.
   */

link

WorkerOptions have changed now and no longer have DataConverter . DataConverter is being passed via client.getOptions().getDataConverter() . Documentation should be modified so that it is relevant to the current state.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions