Class StreamsResetter
public class StreamsResetter : JVMBridgeBase<StreamsResetter>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IJVMBridgeMain
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<StreamsResetter>StreamsResetter
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIJVMBridgeMain
- Inherited Members
-
JVMBridgeBase<StreamsResetter>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])JVMBridgeBase<StreamsResetter>.IsAssignableFrom(IJavaType)JVMBridgeBase<StreamsResetter>.IsAssignableFrom<T>()JVMBridgeBase<StreamsResetter>.Execute<T>(params T[])JVMBridgeBase<StreamsResetter>.DynBridgeClazzJVMBridgeBase<StreamsResetter>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
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)