Skip to content

socket_linger client config Int vs Boolean #2524

@lukaszimmermann

Description

@lukaszimmermann

client-api-v2

Description

Socket Linger client Config Setting inconsistent.

In Client, we have:

 public Builder setSocketLinger(int secondsToWait) 

However, in ClientConfigProperties, we have:

 SOCKET_LINGER_OPT("socket_linger", Boolean.class),

So there is Int vs Boolean and this lead to a ClassCastException when using setSocketLinger

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions