Class RedisEndpoint
Redis endpoint. Parses the operation type and resource from the URI path.
Manages a shared and .
Path format: OPERATION:resource or OPERATION/resource.
Example: redis:SET:user:123?ttl=300 → OperationType=SET, Resource="user:123".
public sealed class RedisEndpoint : EndpointBase<RedisEndpointOptions>, IEndpoint, IEndpointStatistics, IDisposable
Inheritance
Implements
Properties
Resource
Resource portion of the path (key, channel, stream name, etc.).
public string Resource { get; }
Methods
CreateConsumer(IProcessor)
Creates a consumer for receiving messages from this endpoint.
public override IConsumer CreateConsumer(IProcessor processor)
CreateProducer()
Creates a producer for sending messages to this endpoint.
public override IProducer CreateProducer()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Stop(CancellationToken)
Stops the endpoint lifecycle.
public override Task Stop(CancellationToken ct = default)
Constructors
RedisEndpoint(EndpointUri, RedisComponent, RedisEndpointOptions)
Creates a Redis endpoint.