是否可以通过MassTransit在Amazon SQS上激活服务器端加密(SSE)?我可以在MT的SQS中设置默认可见性超时吗?
答案 0 :(得分:0)
您应该能够在这两个设置的接收端点上指定属性:
cfg.ReceiveEndpoint("my-queue", e =>
{
e.QueueAttributes.Add(QueueAttributeName.VisibilityTimeout, "60");
e.QueueAttributes.Add(QueueAttributeName.KmsMasterKeyId, "arn of key");
});