use of com.hazelcast.jet.kafka.impl.StreamKafkaP in project hazelcast by hazelcast.
the class RowProjectorProcessorSupplier method get.
@Nonnull
@Override
public Collection<? extends Processor> get(int count) {
List<Processor> processors = new ArrayList<>(count);
for (int i = 0; i < count; i++) {
KvRowProjector projector = projectorSupplier.get(evalContext, extractors);
Processor processor = new StreamKafkaP<>(properties, singletonList(topic), record -> projector.project(record.key(), record.value()), eventTimePolicy);
processors.add(processor);
}
return processors;
}
Aggregations