Reactive Interaction Gateway

Reactive Interaction Gateway

  • User Documentation
  • Source Documentation
  • GitHub

›Advanced Guides

Getting Started

  • Intro
  • Tutorial
  • Examples
  • FAQ

Main Concepts

  • Architecture
  • Features
  • Event Format
  • Publishing Events
  • Receiving Events
  • Forwarding Requests
  • User Authorization
  • Distributed Tracing

Advanced Guides

  • API Gateway Management
  • API Gateway Synchronization
  • Avro
  • JWT Blacklisting
  • Azure Event Hubs

RIG in Production

  • Operator's Guide
  • API Documentation
  • Phoenix LiveDashboard
  • Prometheus Metrics
  • HTTPS
  • Scaling

Hacking the Source

  • Developer's Guide

Azure Event Hubs

Azure Event Hubs is providing Kafka protocol and thus RIG can connect to it. However, it requires SASL and encrypted connection which might be a bit tricky to setup. This example should help to configure RIG properly.

KAFKA_SOURCE_TOPICS="rig" \
PROXY_KAFKA_RESPONSE_TOPICS="rig" \
KAFKA_BROKERS="<name>.servicebus.windows.net:9093" \
KAFKA_SSL_ENABLED=1 \
KAFKA_SSL_CA_CERTFILE=priv/ca.crt.pem \
KAFKA_SSL_CERTFILE= \
KAFKA_SSL_KEYFILE= \
KAFKA_SASL="plain:\$ConnectionString:Endpoint=..."

Important notes:

  • enable SSL
    • enable CA_CERTFILE - you can use the priv/ca.crt.pem for testing, however should use your own in production
    • disable CERTFILE and KEYFILE
  • note the \ in the SASL username, otherwise it's stripped
← JWT BlacklistingOperator's Guide →
Docs
IntroGetting Started
Community
User ShowcaseSlackStack Overflow@KevnBadr
More
Star RIG on GitHub
Copyright © 2021 Accenture