Amazon AWS 上用于 SQS 队列的 MassTransit 服务器端加密

MassTransit Server Side Encryption on Amazon AWS for SQS queues

是否可以通过 MassTransit 在 Amazon SQS 上激活服务器端加密 (SSE)?我可以在 MT 的 SQS 中设置默认可见性超时吗?

您应该能够为这两个设置指定接收端点的属性:

cfg.ReceiveEndpoint("my-queue", e =>
{
    e.QueueAttributes.Add(QueueAttributeName.VisibilityTimeout, "60");
    e.QueueAttributes.Add(QueueAttributeName.KmsMasterKeyId, "arn of key");
});