Skip to content

Commit

Permalink
Updating application props
Browse files Browse the repository at this point in the history
  • Loading branch information
muralibasani committed Sep 25, 2019
1 parent 1cf627e commit 9d47afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class GetAdminClient {
public AdminClient getAdminClient(String envHost){

String envOnlyHost = envHost.substring(0,envHost.indexOf(":"));
String ssl_acl_enabled = env.getProperty(envOnlyHost+".ssl_acl.enabled");
String ssl_acl_enabled = env.getProperty(envOnlyHost+".connect_with_ssl_kafkacluster");
if(ssl_acl_enabled==null)
return AdminClient.create(getPlainProperties(envHost));
else if(ssl_acl_enabled!=null && ssl_acl_enabled.equals("true"))
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
server.port:9343

# kafka cluster env for DEV/localhost , add more for other envs
localhost.ssl_acl.enabled=false
localhost.connect_with_ssl_kafkacluster=false

# SSL properties for DEV/localhost
kafkassl.localhost.port=9093
Expand Down

0 comments on commit 9d47afc

Please sign in to comment.