Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Clemens Vasters clemensv

🏠
Working from home
View GitHub Profile
View service-bus-copy-pump.conf
# Apache Qpid Dispatch Router Copy Route for Azure Service Bus
router {
mode: standalone
id: 92787282663929288982
workerThreads: 4
}
log {
module: DEFAULT
View amqp_management_openapi.json
{
"openapi": "3.0.2",
"info": {
"title": "AMQP Management",
"version": "1.0"
},
"components": {
"schemas": {
"discovery-document": {
"type": "object",
View amqp_management_openapi.json
{
"openapi": "3.0.2",
"info": {
"title": "AMQP Management",
"version": "1.0"
},
"components": {
"schemas": {
"discovery-document": {
"type": "object",
View sbfifo.md

FIFO in Service Bus

The explantion below is taken out of the context of an internal email exchange, and while we already have product documentation about this topic, this also seemed worth sharing. The email context stated that the customer asked for string First-In-First-Out (FIFO) assurances, but without any specifics about their scenario. Scenarios for hard FIFO requirements are not very common, I might add:

"It’s usually helpful to ask the customer back on exactly why they want they want true in-order delivery, i.e. FIFO, and then look at the use-case.

Service Bus has a specific feature for helping with order assurances, namely Sessions.

Order preservation requires a grouping criterion for the sequence you need ordered, and it needs a mechanism that ensures that messages are delivered to a receiver in that order. That includes not only that the sequence sorting is observed, but that also that no messages go missing b

View DynamicSemaphoreSlim.cs
//---------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
//
// MIT license.
//---------------------------------------------------------------------------------
namespace ServiceBusPerfSample
{
using System;
using System.Threading;
@clemensv
clemensv / afdlist.csv
Last active Sep 2, 2017
Liste erstellt aus Resultat der Twittersuche ""#traudichdeutschland OR #afdwaehlen OR #grueneversenken OR #fdpversenken OR #cduversenken OR #spdversenken -#noafd"
View afdlist.csv
We can't make this file beautiful and searchable because it's too large.
ID,Since,Last tweeted at,Tweets,Favorites,Listed,Following,Followers,Screen name,Name,Verified,Protected,Bio,Status,Location,URL
866335089273315328,2017-05-21 16:49:15 +0000,2017-09-01 16:30:39 +0000,447,3121,1,85,17,007michiko,Tired Joe,false,false,,"RT @Beatrix_vStorch: Warum fragt #wahlomat nicht nach Islam,4. Griechenlandpaket,Familiennachzug,GEZ,Bargeldabschaffung,aber nach Bafög, Nutztieren u Impfpficht?",,
619170508,2012-06-26 15:20:12 +0000,2017-09-01 19:16:18 +0000,5337,2965,8,394,384,01_charly01,charly 01,false,false,"Der Gipfel des Wahnsinns ist es,auf Veränderungen zu hoffen,ohne etwas zu verändern","RT @Junge_Freiheit: AfD-Spitzenkandidatin Weidel fordert, Bundeskanzlerin Merkel wegen Rechtsverstößen vor Gericht zu stellen. https://t.co/0yFXB6UAwx",,
259638173,2011-03-02 08:39:54 +0000,2017-09-02 10:22:41 +0000,4104,3699,3,21,35,0930uhr,Paul Müller,false,false,,RT @timm_ti: @Ralf_Stegner https://t.co/oBseoibV0w,,
2817931146,2014-09-18 21:24:53 +0000,2017-09-02 01:33:39 +0000,18690,30572,11,37
View soap service
.svc file
--------------
<%@ ServiceHost Language="C#" Debug="true" Service="MyService.Service1" %>
using System.ServiceModel;
namespace MyService
{
[ServiceContract]
public class Service1
View badloop-goodloop.cs
// Copyright (c) Microsoft.
// Licensed under the MIT license.
namespace ConsoleApplication6
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
View index.html
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Tahoma, Geneva, sans-serif;
}
div {
display: inline;
View HC Protocol.md

Azure Relay Hybrid Connections Protocol

Azure Relay is one of the key capability pillars of the Azure Service Bus platform. The Relay’s new "Hybrid Connections" capability is a secure, open-protocol evolution based on HTTP and WebSockets. It supersedes the former, equally named "BizTalk Services" feature that was built on a proprietary protocol foundation. The integration of Hybrid Connections into Azure App Services will continue to function as-is.

"Hybrid Connections" allows establishing bi-directional, binary stream

You can’t perform that action at this time.