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
Copy file name to clipboardExpand all lines: java/spring-framework/configure-spring-cloud-stream-binder-java-app-azure-event-hub.md
+33-13Lines changed: 33 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,6 @@ ms.workload: na
15
15
16
16
# How to create a Spring Cloud Stream Binder application with Azure Event Hubs
17
17
18
-
## Overview
19
-
20
18
This article demonstrates how to configure a Java-based Spring Cloud Stream Binder application created with the Spring Boot Initializer with Azure Event Hubs.
21
19
22
20
## Prerequisites
@@ -34,48 +32,70 @@ The following prerequisites are required in order to follow the steps in this ar
34
32
35
33
## Create an Azure Event Hub using the Azure portal
36
34
35
+
The following procedure creates an Azure event hub.
36
+
37
37
### Create an Azure Event Hub Namespace
38
38
39
39
1. Browse to the Azure portal at <https://portal.azure.com/> and sign in.
40
40
41
-
1. Click **+Create a resource**, then **Internet of Things**, and then click **IOT Hub**.
41
+
1. Click **+Create a resource**, then search for *Event Hubs**.
42
+
43
+
1. Click **Create**.
42
44
43
45
![Create Azure Event Hub Namespace][IMG01]
44
46
45
47
1. On the **Create Namespace** page, enter the following information:
46
48
49
+
* Enter a unique **Name**, which will become part of the URI for your event hub namespace. For example: if you entered **wingtiptoys** for the **Name**, the URI would be *wingtiptoys.servicebus.windows.net*.
50
+
* Pricing tier.
47
51
* Choose the **Subscription** you want to use for your namespace.
48
52
* Specify whether to create a new **Resource group** for your namespace, or choose an existing resource group.
49
53
* Specify the **Location** for your event hub namespace.
50
-
*Enter a unique **Name**, which will become part of the URI for your event hub namespace. For example: if you entered **wingtiptoys** for the **Name**, the URI would be *wingtiptoys.servicebus.windows.net*.
54
+
*You can also specify the **Throughput units** for the namespace.
1. When you have specified the options listed above, click **Review + create** to create your namespace.
55
-
1. Review the options, and click create.
58
+
1. When you have specified the options listed above, click **Create** to create your namespace.
59
+
60
+
## Create an Azure Event Hub in your namespace
61
+
62
+
After your namespace is deployed, you can create an event hub in the namespace.
63
+
64
+
1. Navigate to the namespace created in the previous step.
65
+
66
+
1. Click **+ Event Hub** in top menu bar.
67
+
68
+
1. Name the event hub.
69
+
70
+
1. Click **Create**.
71
+
72
+
![Create Event Hub][IMG05]
56
73
57
74
### Create an Azure Storage Account for your Event Hub checkpoints
58
75
59
-
1. Browse to the Azure portal at <https://portal.azure.com/>.
76
+
The following procedure creates a storage account for event hub checkpoints.
60
77
61
-
1.Click **+Create a resource**, then **Storage**, and then click **Storage Account**.
78
+
1.Browse to the Azure portal at <https://portal.azure.com/>.
62
79
63
-
![Create Azure StorageAccount][IMG07]
80
+
1. Click **+Create**, then **Storage**, and then click **Storage Account**.
64
81
65
-
1. On the **Create Namespace** page, enter the following information:
82
+
1. On the **Create storage account** page, enter the following information:
66
83
67
84
* Choose the **Subscription** you want to use for your storage account.
68
85
* Specify whether to create a new **Resource group** for your storage account, or choose an existing resource group.
69
-
* Enter a unique **Name**, which will become part of the URI for your storage account. For example: if you entered **wingtiptoys** for the **Name**, the URI would be *wingtiptoys.core.windows.net*.
70
-
* Choose **Blob storage** for the **Account kind**.
86
+
* Enter a unique **Name** for the storage account.
71
87
* Specify the **Location** for your storage account.
72
88
73
89
![Specify Azure Storage Account options][IMG08]
74
90
75
-
1. When you have specified the options listed above, click **Create** to create your storage account.
91
+
1. When you have specified the options listed above, click **Review + create** to create your storage account.
92
+
93
+
1. Review the specifications and click **Create**. The deployment will take several minutes.
76
94
77
95
## Create a simple Spring Boot application with the Spring Initializr
78
96
97
+
The following procedure creates a Spring boot application.
0 commit comments