HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/kafka/create-configuration.rst
**To create a custom Amazon MSK configuration**

The following ``create-configuration`` example creates a custom MSK configuration with the server properties that are specified in the input file. ::

    aws kafka create-configuration \
        --name "CustomConfiguration" \
        --description "Topic autocreation enabled; Apache ZooKeeper timeout 2000 ms; Log rolling 604800000 ms." \
        --kafka-versions "2.2.1" \
        --server-properties file://configuration.txt

Contents of ``configuration.txt``::

    auto.create.topics.enable = true
    zookeeper.connection.timeout.ms = 2000
    log.roll.ms = 604800000

This command produces no output.
Output::

    {
        "Arn": "arn:aws:kafka:us-west-2:123456789012:configuration/CustomConfiguration/a1b2c3d4-5678-90ab-cdef-11111EXAMPLE-2",
        "CreationTime": "2019-10-09T15:26:05.548Z",
        "LatestRevision": 
            {
                "CreationTime": "2019-10-09T15:26:05.548Z",
                "Description": "Topic autocreation enabled; Apache ZooKeeper timeout 2000 ms; Log rolling 604800000 ms.",
                "Revision": 1
            },
        "Name": "CustomConfiguration"
    }

For more information, see `Amazon MSK Configuration Operations <https://docs.aws.amazon.com/msk/latest/developerguide/msk-configuration-operations.html>`__ in the *Amazon Managed Streaming for Apache Kafka Developer Guide*.