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
- If you are new to Azure Event Hubs, read through [Event Hubs overview](/azure/event-hubs/event-hubs-about.md) and [Event Hubs features](/azure/event-hubs/event-hubs-features).
- To complete this tutorial's steps, you need to have access to a resource group for which you're assigned the Owner role. Generate a certificate in the Key Vault in this resource group.
22
22
23
23
@@ -50,7 +50,7 @@ This document provides a step-by-step guide for setting up Azure services, parti
50
50
}
51
51
]
52
52
```
53
-
:::image type="content" source="media\trust-the-certificate.png" alt-text="Screenshot showing trust the certificate in the application.":::
53
+
:::image type="content" source="media\trust-the-certificate.png" alt-text="Screenshot showing trust the certificate in the application.":::
54
54
55
55
## Step 4. Assign Azure Event Hubs Data Sender Role
56
56
@@ -110,12 +110,12 @@ This document provides a step-by-step guide for setting up Azure services, parti
110
110
111
111
After executing the configuration code in Step 7, run the log-sending code to start emitting logs to Event Hub.
112
112
113
-
```
114
-
%%spark
115
-
val logger = org.apache.log4j.LogManager.getLogger("com.contoso.LoggerExample")
116
-
logger.info("Hello, info message")
117
-
logger.warn("Hello, warn message")
118
-
logger.error("Hello, error message")
119
-
```
113
+
```
114
+
%%spark
115
+
val logger = org.apache.log4j.LogManager.getLogger("com.contoso.LoggerExample")
0 commit comments