Class StreamsResetter
public class StreamsResetter : JVMBridgeBase<StreamsResetter>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IJVMBridgeMain
- Inheritance
-
StreamsResetter
- Implements
- Inherited Members
-
JVMBridgeBase<StreamsResetter>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])
Constructors
StreamsResetter()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public StreamsResetter()
StreamsResetter(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public StreamsResetter(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
DoDelete(List<String>, Admin)
public void DoDelete(List<String> arg0, Admin arg1)
Parameters
Execute(String[])
public int Execute(String[] arg0)
Parameters
Returns
Execute(String[], Properties)
public int Execute(String[] arg0, Properties arg1)
Parameters
arg0
String[]arg1
Properties
Returns
Main(String[])
public static void Main(String[] arg0)
Parameters
MatchesInternalTopicFormat(String)
public static bool MatchesInternalTopicFormat(String arg0)
Parameters
Returns
MaybeSeekToEnd(String, Consumer<byte[], byte[]>, Set<TopicPartition>)
public void MaybeSeekToEnd(String arg0, Consumer<byte[], byte[]> arg1, Set<TopicPartition> arg2)
Parameters
ResetApplication(string, string, params string[])
Resets an applicationId
of Apache Kafka Streams
public static bool ResetApplication(string bootstrapserver, string applicationId, params string[] inputTopics)
Parameters
bootstrapserver
stringThe bootstrap server of the Apache Kafka cluster
applicationId
stringThe application id to be resetted
inputTopics
string[]Input topics to be resetted
Returns
Exceptions
- ArgumentNullException
Either
applicationId
orbootstrapserver
are null
ResetApplicationForced(string, string, params string[])
Resets an applicationId
of Apache Kafka Streams and forces deletion of active members from the group
public static bool ResetApplicationForced(string bootstrapserver, string applicationId, params string[] inputTopics)
Parameters
bootstrapserver
stringThe bootstrap server of the Apache Kafka cluster
applicationId
stringThe application id to be resetted
inputTopics
string[]Input topics to be resetted
Returns
Exceptions
- ArgumentNullException
Either
applicationId
orbootstrapserver
are null
ResetOffsetsFromResetPlan(Consumer<byte[], byte[]>, Set<TopicPartition>, Map<TopicPartition, Long>)
public void ResetOffsetsFromResetPlan(Consumer<byte[], byte[]> arg0, Set<TopicPartition> arg1, Map<TopicPartition, Long> arg2)
Parameters
arg0
Consumer<byte[], byte[]>arg1
Set<TopicPartition>arg2
Map<TopicPartition, Long>
ResetOffsetsTo(Consumer<byte[], byte[]>, Set<TopicPartition>, Long)
public void ResetOffsetsTo(Consumer<byte[], byte[]> arg0, Set<TopicPartition> arg1, Long arg2)
Parameters
ResetToDatetime(Consumer<byte[], byte[]>, Set<TopicPartition>, Long)
public void ResetToDatetime(Consumer<byte[], byte[]> arg0, Set<TopicPartition> arg1, Long arg2)
Parameters
ShiftOffsetsBy(Consumer<byte[], byte[]>, Set<TopicPartition>, long)
public void ShiftOffsetsBy(Consumer<byte[], byte[]> arg0, Set<TopicPartition> arg1, long arg2)