File tree Expand file tree Collapse file tree
modules/cdc-ext/src/main/java/org/apache/ignite/cdc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 *
5454 * @see AbstractCdcEventsApplier
5555 */
56- public abstract class AbstractIgniteCdcStreamer implements CdcConsumer {
56+ public abstract class AbstractIgniteCdcStreamer implements CdcConsumerEx {
5757 /** */
5858 public static final String EVTS_SENT_CNT = "EventsCount" ;
5959
@@ -130,6 +130,11 @@ public abstract class AbstractIgniteCdcStreamer implements CdcConsumer {
130130 @ LoggerResource
131131 protected IgniteLogger log ;
132132
133+ /** {@inheritDoc} */
134+ @ Override public void start (MetricRegistry reg ) {
135+ //No-op
136+ }
137+
133138 /** {@inheritDoc} */
134139 @ Override public void start (MetricRegistry reg , Path cdcDir ) {
135140 A .notEmpty (caches , "caches" );
Original file line number Diff line number Diff line change 4242import org .apache .ignite .IgniteLogger ;
4343import org .apache .ignite .binary .BinaryType ;
4444import org .apache .ignite .cdc .CdcCacheEvent ;
45- import org .apache .ignite .cdc .CdcConsumer ;
45+ import org .apache .ignite .cdc .CdcConsumerEx ;
4646import org .apache .ignite .cdc .CdcEvent ;
4747import org .apache .ignite .cdc .TypeMapping ;
4848import org .apache .ignite .cdc .conflictresolve .CacheVersionConflictResolverImpl ;
8787 * @see KafkaToIgniteClientCdcStreamer
8888 * @see CacheVersionConflictResolverImpl
8989 */
90- public class IgniteToKafkaCdcStreamer implements CdcConsumer {
90+ public class IgniteToKafkaCdcStreamer implements CdcConsumerEx {
9191 /** */
9292 public static final String EVTS_SENT_CNT = "EventsCount" ;
9393
@@ -376,6 +376,11 @@ private <T> void sendOneBatch(
376376 }
377377 }
378378
379+ /** {@inheritDoc} */
380+ @ Override public void start (MetricRegistry reg ) {
381+ //No-op
382+ }
383+
379384 /** {@inheritDoc} */
380385 @ Override public void start (MetricRegistry reg , Path cdcDir ) {
381386 A .notNull (kafkaProps , "Kafka properties" );
You can’t perform that action at this time.
0 commit comments