|
@@ -41,7 +41,7 @@ public class RocketMQConfigurer {
|
|
|
@ConditionalOnMissingBean(ClientConfiguration.class)
|
|
|
public ClientConfiguration configuration() {
|
|
|
SessionCredentialsProvider sessionCredentialsProvider =
|
|
|
- new StaticSessionCredentialsProvider(this.properties.getAccessKey(), this.properties.getSecretKey());
|
|
|
+ new StaticSessionCredentialsProvider(this.properties.getAppid(), this.properties.getSecret());
|
|
|
return ClientConfiguration.newBuilder().setEndpoints(this.properties.getEndpoints())
|
|
|
.setCredentialProvider(sessionCredentialsProvider).build();
|
|
|
}
|