Class StreamsResetter
public class StreamsResetter : JVMBridgeBase<StreamsResetter>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IJVMBridgeMain
- Inheritance
-
StreamsResetter
- Implements
Constructors
StreamsResetter()
public StreamsResetter()
StreamsResetter(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public StreamsResetter(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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 java.lang.AutoCloseable
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
CreatePoolableInstance()
HPA initializer for StreamsResetter()
public static StreamsResetter CreatePoolableInstance()
Returns
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
arg0String[]arg1Properties
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, IEnumerable<string>)
Resets an applicationId of Apache Kafka Streams
public static bool ResetApplication(string bootstrapserver, string applicationId, IEnumerable<string> inputTopics)
Parameters
bootstrapserverstringThe bootstrap server of the Apache Kafka cluster
applicationIdstringThe application id to be resetted
inputTopicsIEnumerable<string>Input topics to be resetted
Returns
Exceptions
- ArgumentNullException
Either
applicationIdorbootstrapserverare null
ResetApplication(string, string, params string[])
Resets an applicationId of Apache Kafka Streams
public static bool ResetApplication(string bootstrapserver, string applicationId, params string[] inputTopics)
Parameters
bootstrapserverstringThe bootstrap server of the Apache Kafka cluster
applicationIdstringThe application id to be resetted
inputTopicsstring[]Input topics to be resetted
Returns
Exceptions
- ArgumentNullException
Either
applicationIdorbootstrapserverare null
ResetApplicationForced(string, string, IEnumerable<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, IEnumerable<string> inputTopics)
Parameters
bootstrapserverstringThe bootstrap server of the Apache Kafka cluster
applicationIdstringThe application id to be resetted
inputTopicsIEnumerable<string>Input topics to be resetted
Returns
Exceptions
- ArgumentNullException
Either
applicationIdorbootstrapserverare 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
bootstrapserverstringThe bootstrap server of the Apache Kafka cluster
applicationIdstringThe application id to be resetted
inputTopicsstring[]Input topics to be resetted
Returns
Exceptions
- ArgumentNullException
Either
applicationIdorbootstrapserverare 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
arg0Consumer<byte[], byte[]>arg1Set<TopicPartition>arg2Map<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)