arenger commented on issue #3414: NIFI-5900 Add a SplitLargeJson processor
URL: https://github.com/apache/nifi/pull/3414#issuecomment-485408527
 
 
   Well, `jsurfer-core` uses ANTLR 4.7 so I was getting a runtime error from 
conflicting versions of ANTLR.  After tracking it down I found that 
`simple-syslog-5424` was importing version 4.5.  After I made this change 
`JsonSurfer` worked fine:
   
   ```
   --- a/nifi-nar-bundles/nifi-extension-utils/nifi-syslog-utils/pom.xml
   +++ b/nifi-nar-bundles/nifi-extension-utils/nifi-syslog-utils/pom.xml
   @@ -23,10 +23,21 @@
        <artifactId>nifi-syslog-utils</artifactId>
        <packaging>jar</packaging>
        <dependencies>
   +        <dependency>
   +          <groupId>org.antlr</groupId>
   +          <artifactId>antlr4-runtime</artifactId>
   +          <version>4.7.2</version>
   +        </dependency>
            <dependency>
                <groupId>com.github.palindromicity</groupId>
                <artifactId>simple-syslog-5424</artifactId>
                <version>0.0.11</version>
   +            <exclusions>
   +              <exclusion>
   +                <groupId>org.antlr</groupId>
   +                <artifactId>antlr4-runtime</artifactId>
   +              </exclusion>
   +            </exclusions>
            </dependency>
            <dependency>
                <groupId>org.apache.nifi</groupId>
   ```
   
   ... I did not yet run unit/regression tests in `nifi-syslog-utils` because 
it was experimental.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to