amqp-demos icon indicating copy to clipboard operation
amqp-demos copied to clipboard

[amqp-node-demo] incorrect config field: instanceId

Open FanShiDe opened this issue 4 years ago • 0 comments

// pre config
const config = {
    accessKeyId: '${accessKeyId}',
    accessKeySecret: '${accessKeySecret}',
    instanceId: '${instanceId}',
    securityToken: '${securityToken}',
};

// right config
const config = {
    accessKeyId: '${accessKeyId}',
    accessKeySecret: '${accessKeySecret}',
    resourceOwnerId: '${instanceId}',
    securityToken: '${securityToken}',
};

You need change instanceId to resourceOwnerId

https://github.com/jameslcj/aliyun-amqp-node-cli/blob/1da86965d96254d50079fcb3e6c3467010901878/src/index.ts#L23-L26

FanShiDe avatar May 13 '20 10:05 FanShiDe