SupportsBatching
annotation.@Documented @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Deprecated public @interface SupportsBatching
ProcessSession
s' commits, as well as
allowing the Framework to return the same ProcessSession multiple times from
subsequent calls to
ProcessSessionFactory
.createSession()
.
When this Annotation is used, it is important to note that calls to
ProcessSession.commit()
may
not provide a guarantee that the data has been safely stored in NiFi's
Content Repository or FlowFile Repository. Therefore, it is not appropriate,
for instance, to use this annotation if the Processor will call
ProcessSession.commit() to ensure data is persisted before deleting the data
from a remote source.Copyright © 2015 Apache NiFi Project. All rights reserved.