Skip to content

Commit

Permalink
Merge pull request #16 from david-streamlio/fix-booleans
Browse files Browse the repository at this point in the history
Added allowable values to boolean config properties
  • Loading branch information
david-streamlio authored Oct 19, 2021
2 parents 84186d7 + 7d593d1 commit fcc653b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
public class StandardPulsarClientService extends AbstractControllerService implements PulsarClientService {

public static final PropertyDescriptor ALLOW_TLS_INSECURE_CONNECTION = new PropertyDescriptor.Builder()
.allowableValues("true", "false")
.name("ALLOW_TLS_INSECURE_CONNECTION")
.defaultValue("false")
.description("")
Expand Down Expand Up @@ -88,6 +89,7 @@ public class StandardPulsarClientService extends AbstractControllerService imple
.build();

public static final PropertyDescriptor ENABLE_TLS_HOSTNAME_VERIFICATION = new PropertyDescriptor.Builder()
.allowableValues("true", "false")
.name("ENABLE_TLS_HOSTNAME_VERIFICATION")
.defaultValue("false")
.description("It allows to validate hostname verification when client connects to broker over tls. "
Expand Down

0 comments on commit fcc653b

Please sign in to comment.