# Events Examples (/sdks/ruby/how-to/events)



Real-time fire-and-forget pub/sub messaging examples.

[Events overview →](/learn/events/getting-started)

<Cards>
  <Card title="Basic Pub/Sub" href="/sdks/ruby/tutorials/basic-pubsub">
    Publish and subscribe to real-time events
  </Card>

  <Card title="Cancel Subscription" href="/sdks/ruby/how-to/events/cancel-subscription">
    Stop receiving events with a cancellation token
  </Card>

  <Card title="Consumer Group" href="/sdks/ruby/how-to/events/consumer-group">
    Load-balanced event delivery across subscribers
  </Card>

  <Card title="Multiple Subscribers" href="/sdks/ruby/how-to/events/multiple-subscribers">
    Fan-out events to multiple independent subscribers
  </Card>

  <Card title="Stream Send" href="/sdks/ruby/how-to/events/stream-send">
    High-throughput publishing via persistent stream
  </Card>

  <Card title="Wildcard Subscription" href="/sdks/ruby/how-to/events/wildcard-subscription">
    Subscribe to events across multiple channels with wildcards
  </Card>
</Cards>
