我有一个Spring应用程序,它使用没有任何身份验证的Kafka实例。什么其他信息,我需要连接到卡夫卡集群。我尝试过在Google中提出的不同方法,但似乎没有什么对我有用,我一直在想:
打开到服务器X1.X2.X3.X4/X1.X2.X3.X4:2181的套接字连接。不会尝试使用SASL (未知错误)进行身份验证。
#To use local kafka
我正在运行JVM参数中配置的Java (Microservice)和trustStore。如果Microservice需要连接外部URL,则需要在trustStore中导入证书。Example: example.com -> examplecom as alias in trustStoreexample.in -> examplein as alias in trustStore
我已经设置了一个自签名证书来测试ssl java连接-但是,它拒绝定位java trustStore。= System.getProperty("javax.net.ssl.trustStore"); System.out.println("javax.net.ssl.trustStore is not defined"); Syste
目前,我在让Grizzly使用HTTPS运行时遇到了问题。我和泽西一起用的。泽西岛版本: 2.24.1public class Main {private static final String KEYSTORE_LOC = "I:\\rest-api\\keystore";
//private static final String KEYSTORE_LOC =