Skip to main content

Configuration

Manages a Amazon MQ Configuration.

Sample code

exports.createResources = () => [
{
type: "Configuration",
group: "MSK",
properties: ({}) => ({
ServerProperties:
"auto.create.topics.enable=false\ndefault.replication.factor=3\nmin.insync.replicas=2\nnum.io.threads=8\nnum.network.threads=5\nnum.partitions=1\nnum.replica.fetchers=2\nreplica.lag.time.max.ms=30000\nsocket.receive.buffer.bytes=102400\nsocket.request.max.bytes=104857600\nsocket.send.buffer.bytes=102400\nunclean.leader.election.enable=true\nzookeeper.session.timeout.ms=18000\n",
Name: "my-configuration",
}),
},
];

Properties

Dependencies

Used By

Full Examples

List

gc l -t MQ::Configuration