My custom processor's usage, which should come from the @CapabilityDescription annotation of the class containing the onTrigger() method, nevertheless is nothing more than the Apache NiFi Overview. I am able to place an instance on the canvas via the processor Component Tool (so, the custom processor is there--I just can't get my usage statement):

   @SupportsBatching
   @SideEffectFree
   @InputRequirement( InputRequirement.Requirement.INPUT_REQUIRED )
   *@CapabilityDescription( "Custom processor usage statement..**." )*
   public class CustomProcessor extends AbstractSessionFactory Processor
   {
      @Override
      public void onTrigger( final ProcessContext context, final
   ProcessSessionFactory sessionFactory )
          throws ProcessException
      {
        ...
      }

      etc.
   }

What thing missing should I be looking for to fix this?

I'm sure it's some stupid oversight that I have not failed to provide in other (successfully documented) custom processors I've written. I have compared this processor to those others; I've structured it identically, etc. and I have pored through https://nifi.apache.org/docs/nifi-docs/html/developer-guide.html#documenting-a-component a number of times. Usage just doesn't work.

Thanks.


Reply via email to