enum Crabbit::SuperStreamRouting

Overview

Built-in strategy for mapping a super-stream routing key to partitions.

Defined in:

crabbit/options.cr

Enum Members

Hash = 0

Selects one partition using RabbitMQ's seeded Murmur3 strategy.

RoutingKey = 1

Uses the broker's Route command and super-stream binding keys.

Instance Method Summary

Instance Method Detail

def hash? #

Returns true if this enum value equals Hash


[View source]
def routing_key? #

Returns true if this enum value equals RoutingKey


[View source]