confluent-kafka-dotnet
Show / Hide Table of Contents

Class CelExecutor

Inheritance
object
CelExecutor
Implements
IRuleExecutor
IRuleBase
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Rules
Assembly: Confluent.SchemaRegistry.Rules.dll
Syntax
public class CelExecutor : IRuleExecutor, IRuleBase, IDisposable

Constructors

CelExecutor()

Declaration
public CelExecutor()

Fields

NullAvroSchema

Declaration
public static readonly Schema NullAvroSchema
Field Value
TypeDescription
Schema

RuleType

Declaration
public static readonly string RuleType
Field Value
TypeDescription
string

Methods

Configure(IEnumerable<KeyValuePair<string, string>>, ISchemaRegistryClient)

Configure the rule executor or action

Declaration
public void Configure(IEnumerable<KeyValuePair<string, string>> config, ISchemaRegistryClient client = null)
Parameters
TypeNameDescription
IEnumerable<KeyValuePair<string, string>>config
ISchemaRegistryClientclient

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

Execute(RuleContext, object, IDictionary<string, object>)

Declaration
public Task<object> Execute(RuleContext ctx, object obj, IDictionary<string, object> args)
Parameters
TypeNameDescription
RuleContextctx
objectobj
IDictionary<string, object>args
Returns
TypeDescription
Task<object>

Register()

Declaration
public static void Register()

Transform(RuleContext, object)

Transform the message based on the rule context

Declaration
public Task<object> Transform(RuleContext ctx, object message)
Parameters
TypeNameDescription
RuleContextctx
objectmessage
Returns
TypeDescription
Task<object>

Type()

The type of rule executor or action

Declaration
public string Type()
Returns
TypeDescription
string

Implements

IRuleExecutor
IRuleBase
IDisposable
In this article