连接运动生产者 AWS 运动 443 时出错

Error while connecting kinesis producer AWS kinesis 443

无法打开与 monitoring.us-east-1.amazonaws.com:443 的连接:连接到 AWS kinesis 时证书验证失败

public static KinesisProducer getKinesisProducer() {

    KinesisProducerConfiguration config = new KinesisProducerConfiguration();

    config.setCredentialsProvider(new DefaultAWSCredentialsProviderChain());         
    config.setRegion(REGION);
    config.setMaxConnections(10);
    config.setRequestTimeout(600000);
    config.setRecordMaxBufferedTime(15000); 

    KinesisProducer producer = new KinesisProducer(config);
    return producer;
}

请按以下link:-

https://docs.aws.amazon.com/streams/latest/dev/developing-producers-with-sdk.html

这可能是身份验证问题。因此,请尝试使用官方 AWS 说明/文档中的说明。