Created
May 11, 2024 08:10
-
-
Save salaboy/b1215b6a5de74f0ea18c5dc6507f3c96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public DaprClientBuilder(Integer httpPort, Integer grpcPort) { | |
this(); | |
if(httpPort != null){ | |
System.getProperties().setProperty(Properties.HTTP_PORT.getName(), httpPort.toString()); | |
} | |
if(grpcPort != null){ | |
System.getProperties().setProperty(Properties.GRPC_PORT.getName(), grpcPort.toString()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment