30 lines
1.6 KiB
C#
30 lines
1.6 KiB
C#
namespace NATS.Server.JetStream.Api;
|
|
|
|
public static class JetStreamApiSubjects
|
|
{
|
|
public const string Info = "$JS.API.INFO";
|
|
public const string StreamCreate = "$JS.API.STREAM.CREATE.";
|
|
public const string StreamInfo = "$JS.API.STREAM.INFO.";
|
|
public const string StreamNames = "$JS.API.STREAM.NAMES";
|
|
public const string StreamList = "$JS.API.STREAM.LIST";
|
|
public const string StreamUpdate = "$JS.API.STREAM.UPDATE.";
|
|
public const string StreamDelete = "$JS.API.STREAM.DELETE.";
|
|
public const string StreamPurge = "$JS.API.STREAM.PURGE.";
|
|
public const string StreamMessageGet = "$JS.API.STREAM.MSG.GET.";
|
|
public const string StreamMessageDelete = "$JS.API.STREAM.MSG.DELETE.";
|
|
public const string StreamSnapshot = "$JS.API.STREAM.SNAPSHOT.";
|
|
public const string StreamRestore = "$JS.API.STREAM.RESTORE.";
|
|
public const string StreamLeaderStepdown = "$JS.API.STREAM.LEADER.STEPDOWN.";
|
|
public const string ConsumerCreate = "$JS.API.CONSUMER.CREATE.";
|
|
public const string ConsumerInfo = "$JS.API.CONSUMER.INFO.";
|
|
public const string ConsumerNames = "$JS.API.CONSUMER.NAMES.";
|
|
public const string ConsumerList = "$JS.API.CONSUMER.LIST.";
|
|
public const string ConsumerDelete = "$JS.API.CONSUMER.DELETE.";
|
|
public const string ConsumerPause = "$JS.API.CONSUMER.PAUSE.";
|
|
public const string ConsumerReset = "$JS.API.CONSUMER.RESET.";
|
|
public const string ConsumerUnpin = "$JS.API.CONSUMER.UNPIN.";
|
|
public const string ConsumerNext = "$JS.API.CONSUMER.MSG.NEXT.";
|
|
public const string DirectGet = "$JS.API.DIRECT.GET.";
|
|
public const string MetaLeaderStepdown = "$JS.API.META.LEADER.STEPDOWN";
|
|
}
|