Interface NutchPublisher

    • Field Detail

      • X_POINT_ID

        static final String X_POINT_ID
    • Method Detail

      • setConfig

        boolean setConfig​(Configuration conf)
        Use implementation specific configurations
        Parameters:
        conf - Configuration to be used
        Returns:
        true if set, false otherwise
      • publish

        void publish​(Object event,
                     Configuration conf)
        This method publishes the event. Make sure that the event is a Java POJO to avoid Jackson JSON conversion errors. Currently we use the FetcherThreadEvent
        Parameters:
        event - the Object (event) to publish
        conf - Configuration to be used