Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Code uses WebClient but blocks #22

@marschall

Description

@marschall

The code uses the reactive WebClient but ends up calling #block() which, as the name suggests, blocks and therefore defeats the whole purpose of using WebClient in the first place. Examples:

The code should instead do one of the following:

  • Avoid calling #block() and instead call #subscribe()
  • Switch from the reactive WebClient to the blocking RestTemplate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions