I am using the steps provided in the following link to implement a simple extension to intercept clientId, topics names, and message’s and log them to a MongoDB.
you can not include the version of the MongoDB database driver in the command. But you can add the mongoDB driver manually to the pom.xml once the project is created with the command.
I am using the hello word plugin to log published data to MongoDB. I am trying to find the syntax to get the client id and message payload. I am able to get the topic name in the “HelloWorldInterceptor.java” file which is created when I run the command