Links

Stations

This section describes how to handle stations using the Web Console

What is a station?

A station is a distributed unit that stores messages. Similar to Kafka's topics and RabbitMQ's queues. Each station has a retention policy, which defines when and how messages will be removed from the station—for example, by the number of stored messages, store time, or total size of stored messages.

Create a station

To create a new station, click "Create new station".
A modal will appear with customization options.
  • Retention - The default value is seven days. You can choose a custom retention value by time, message size, and message amount.
  • Storage type - Choose whether to store your messages in a file or memory.
  • Replicas - Choose how many replicas to create behind your station.

Station overview

All the required information for a specific station is presented here.

Code Example - How to connect an app

Press the SDK button to display the station's connection details.
  • Language - The user can change the SDK details per their desired language (for now, Memphis supports Node.js).
  • Installation - Before the user can use the SDK, they must install Memphis.
  • Code Example - The example demonstrates how to connect Memphis and create a factory, station, consumer, and producer.

Producers & Consumers

  • In this section, Memphis provides data-level observability of the messages within a station
  • The right and left panels show lists of producers and consumers.
  • The center panel represents the last 100 messages that are currently stored in the station.