This will help you answer your question:
https://learn.microsoft.com/en-us/azure/synapse-analytics/spark/azure-synapse-diagnostic-emitters-azure-eventhub?wt.mc_id=studentamb_422941
Spark Diagnostic Emitter Not Working with Event Hub
Raut, Saurabh J
0
Reputation points
I am following this documentation to send logs and metrics for Spark applications running on Synapse Spark pools to Event Hub using Azure Key Vault (AKV).
I am using the configuration below and have added the Service Principal secret to AKV. I also tried putting the connection string in the AKV secrets, but I receive an error:
Your notebook connection has closed unexpectedly. To re-establish the connection, run the notebook again. Diagnostic information: kernel_connection_closed (70az88)
spark.synapse.diagnostic.emitters MyDestination1
spark.synapse.diagnostic.emitter.MyDestination1.type AzureEventHub
spark.synapse.diagnostic.emitter.MyDestination1.categories Log,EventLog,Metrics
spark.synapse.diagnostic.emitter.MyDestination1.secret.keyVault <...>
spark.synapse.diagnostic.emitter.MyDestination1.secret.keyVault.secretName <...>
1 answer
Sort by: Most helpful
-
Rehan Surya 0 Reputation points
2025-01-15T05:26:26.8266667+00:00