Override ClientProperties.USE_PLAINTEXT_CONNECTION with env variable #4245
Labels
kind/feature
Categorizes an issue or PR as a feature, i.e. new behavior
scope/clients-java
Marks an issue or PR to appear in the Java client section of the changelog
Is your feature request related to a problem? Please describe.
When
ClientProperties.USE_PLAINTEXT_CONNECTION
is defined, it can't be disabled with afalse
value becauseZeebeClientBuilderImpl#withProperties
doesn't care about the value:I'm using Docker containers, it is easier to add env variables to override configuration but not the opposite.
Describe the solution you'd like
Make
USE_PLAINTEXT_CONNECTION
a boolean variable and only callusePlaintext()
if it istrue
.Describe alternatives you've considered
Currently I'm forcing it with
ZEEBE_INSECURE_CONNECTION=false
, but it would be better to always use the same env variable.The text was updated successfully, but these errors were encountered: