Skip to content

Instantly share code, notes, and snippets.

View pshrosbree's full-sized avatar

Peter Shrosbree pshrosbree

  • Microsoft
  • Redmond, Washington
View GitHub Profile
@pshrosbree
pshrosbree / FairQueueing.cs
Last active September 20, 2018 16:57
Fair request queueing with Akka.NET
namespace FairQueueing
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Routing;
public class ApplicationActor : ReceiveActor, IWithUnboundedStash
@pshrosbree
pshrosbree / DeserializeAzureEventHubCapture.cs
Last active February 14, 2023 11:06
Deserializing Azure event hub capture files from Apache Avro with C#
/*
NuGet references:
Microsoft.Hadoop.Avro2 (1.2.1 works)
WindowsAzure.Storage (8.3.0 works)
Namespaces:
Microsoft.Hadoop.Avro.Container
Microsoft.WindowsAzure.Storage
*/