Skip to content

Instantly share code, notes, and snippets.

View robruma's full-sized avatar

Rob Ruma robruma

  • Harvard University Information Technology
  • Cambridge, Massachusetts
View GitHub Profile
@gmr
gmr / quorum-to-classic.py
Created July 18, 2020 19:40
Python CLI application that converts all quorum queues on a RabbitMQ cluster to classic queues with the intent of not loosing any messages or impacting production workloads (aside from disconnecting consumers on a queue)
#!/usr/bin/env python3
import argparse
import json
import logging
import sys
import time
import typing
from urllib import parse
import httpx