Azure Code Samples
Learn to interact with Azure services through code
18 code samples match your filter
A basic Java-based User Defined Function (UDF) for Hive.
A basic example of how to read and write data to Azure Event Hubs from an Apache Storm topology running on HDInsight.
Java-based example of reading and writing to Apache Kafka from Apache Storm on HDInsight
Learn how to write data to Azure Data Lake Store from a Java-based Apache Storm topology using HDInsight.
Building IoT or Mobile solutions are fun and exciting. This year for Build, we wanted to show the amazing scenarios that can come together when these two are combined. So, we went and developed a sample application. MyDriving uses a wide range of Azure services to process and analyze car telemetry data for both real-time insights and long-term patterns and trends. The following features are supported in the current version of the mobile app.
A basic example of how to read and write streaming data using Apache Spark and Kafka on HDInsight
How to read data from Apache Kafka on HDInsight using Spark Structured Streaming.
An example of how to use the JDBC to issue Hive queries from a Java client application.
How to use PowerBI to display information generated by a Apache Storm topology running on HDInsight
A basic example of a dotnet-based Apache Storm topology and how to run it on HDInsight.
How to correlate events that arrive at different times by using a unique identifier and storing event state.
How to restrict access to Azure blob storage from HDInsight by using shared access signatures. This sample spans HDInsight and Azure Storage, and samples are provided for dotnet and python.
An example of how to programmatically deploy a Storm topology to an HDInsight cluster.
Basic example of using Java to create a producer and consumer that work with Kafka on HDInsight. Also a demonstration of the streaming api.
How to use Python components in an Apache Storm topology on HDInsight
A basic example of a Java-based Apache Storm Topology, and how to deploy and run it with HDInsight.
An example of using a hybrid dotnet/Java-based Apache Storm topology to work with Azure Event Hubs