Hello all,
I am working on a pipeline where I'd like to write a value to state at the
end of processing a bundle. As it turns out, I don't think this is
possible, as FinishBundleContext does not provide a method for it; and
doing something like so also errors out:

======
         @FinishBundle
          public void finishBundle(
              FinishBundleContext c,
              @StateId("myState") MapState<String, MyClass> myState) {

             myState.put(this.myClassVarKey, this.myClassVarValue);
          }
======

Maybe this is not yet implemented, and remains to be? Or maybe there's some
other way of doing it? Or maybe this is an antipattern? (though I doubt
that last one).
Thanks!
-P.

Reply via email to