You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to configure Apache Kafka on HDInsight to automatically create topics. You can configure Kafka by setting auto.create.topics.enable to true through Ambari or during cluster creation through PowerShell or Resource Manager templates.
3
+
description: Learn how to configure Apache Kafka on HDInsight to automatically create topics. You can configure Kafka by setting `auto.create.topics.enable` to true through Ambari. Or during cluster creation through PowerShell or Resource Manager templates.
4
4
author: hrasheed-msft
5
5
ms.author: hrasheed
6
6
ms.reviewer: jasonh
7
7
ms.service: hdinsight
8
-
ms.custom: hdinsightactive
9
8
ms.topic: conceptual
10
-
ms.date: 10/25/2019
9
+
ms.custom: hdinsightactive,seoapr2020
10
+
ms.date: 04/28/2020
11
11
---
12
12
13
13
# How to configure Apache Kafka on HDInsight to automatically create topics
14
14
15
-
By default, [Apache Kafka](https://kafka.apache.org/) on HDInsight doesn't enable automatic topic creation. You can enable auto topic creation for existing clusters using [Apache Ambari](https://ambari.apache.org/). You can also enable auto topic creation when creating a new Kafka cluster using an Azure Resource Manager template.
15
+
By default, Apache Kafka on HDInsight doesn't enable automatic topic creation. You can enable auto topic creation for existing clusters using Apache Ambari. You can also enable auto topic creation when creating a new Kafka cluster using an Azure Resource Manager template.
16
16
17
17
## Apache Ambari Web UI
18
18
@@ -24,7 +24,7 @@ To enable automatic topic creation on an existing cluster through the Ambari Web
24
24
25
25

26
26
27
-
When prompted, authenticate using the login (admin) credentials for the cluster. Alternatively, you can connect to Amabri directly from `https://CLUSTERNAME.azurehdinsight.net/` where `CLUSTERNAME` is the name of your Kafka cluster.
27
+
When prompted, authenticate using the login (admin) credentials for the cluster. Instead, you can connect to Amabri directly from `https://CLUSTERNAME.azurehdinsight.net/` where `CLUSTERNAME` is the name of your Kafka cluster.
28
28
29
29
1. Select the Kafka service from the list on the left of the page.
30
30
@@ -38,15 +38,15 @@ To enable automatic topic creation on an existing cluster through the Ambari Web
This filters the list of properties and displays the `auto.create.topics.enable` setting.
41
+
This setting filters the list of properties and displays the `auto.create.topics.enable` setting.
42
42
43
43
1. Change the value of `auto.create.topics.enable` to `true`, and then select **Save**. Add a note, and then select **Save** again.
44
44
45
45

46
46
47
47
1. Select the Kafka service, select __Restart__, and then select __Restart all affected__. When prompted, select __Confirm restart all__.
48
48
49
-

49
+

50
50
51
51
> [!NOTE]
52
52
> You can also set Ambari values through the Ambari REST API. This is generally more difficult, as you have to make multiple REST calls to retrieve the current configuration, modify it, etc. For more information, see the [Manage HDInsight clusters using the Apache Ambari REST API](../hdinsight-hadoop-manage-ambari-rest-api.md) document.
0 commit comments