GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - streamnative/pulsar-nifi-bundle: NiFi Processor for Apache Pulsar

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

201 Commits
201 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
bin
bin
 
 
docker-image
docker-image
 
 
infrastructure
infrastructure
 
 
nifi-pulsar-client-service-api
nifi-pulsar-client-service-api
 
 
nifi-pulsar-client-service-nar
nifi-pulsar-client-service-nar
 
 
nifi-pulsar-client-service
nifi-pulsar-client-service
 
 
nifi-pulsar-nar
nifi-pulsar-nar
 
 
nifi-pulsar-processors
nifi-pulsar-processors
 
 
.gitignore
.gitignore
 
 
CLAUDE.md
CLAUDE.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
VERSIONING.md
VERSIONING.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Apache NiFi - Processor for Apache Pulsar

Compatibility

Bundle version NiFi Pulsar client Java
2.9.0 2.9.0 4.2.2 21
2.1.0 2.1.0 3.3.7 21

Pulsar major bump in 2.9.0: this release line moves the Pulsar client from 3.x to 4.x (3.3.7 → 4.2.2). Consumers who must stay on the Pulsar 3.x client should pin to the 2.1.0 release line.

The bundle version tracks the NiFi platform version it is built for; each release line targets one Pulsar client major. See VERSIONING.md for the full scheme, branching model, and release process.

How to build

To build the NAR files using Maven, just run the following commands. The first one makes sure that you are using Java version 21, which is necessary since NiFi 2.x uses this version.

export JAVA_HOME=`/usr/libexec/java_home -v 21`
mvn clean package

This will also generate a Docker image inside your local docker daemon with the tag streamnative/nifi

*Note: Currently, this command will load NAR files that were build using the default NiFi, Pulsar, and Java versions into the lib folder of the NiFi container for testing. Therefore, if you need to test artifacts built using a different version of these libraries, then you will first need to copy those NAR artifacts into the docker/lib folder BEFORE building the Docker image.

How to test

A Dockerfile has been included in the project that can be used to test the Processor locally, and can be started with the following command:

docker run --name nifi -d -p 8443:8443 \
-e SINGLE_USER_CREDENTIALS_USERNAME=admin \
-e SINGLE_USER_CREDENTIALS_PASSWORD=ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB \
streamnative/nifi

See the documentation on the base image for more configuration options

Visit https://localhost:8443/nifi/#/login and enter the username and password you provided in the docker command.

How to debug

The JVM Debugger can be enabled by setting the environment variable NIFI_JVM_DEBUGGER to any value when running the docker image, e.g.

docker run -d --name nifi \
-v /Users/david/Downloads/nifi-test/:/nifi-test
-p 8443:8443 -p 8000:8000 \
-e NIFI_JVM_DEBUGGER=true
-e SINGLE_USER_CREDENTIALS_USERNAME=admin
-e SINGLE_USER_CREDENTIALS_PASSWORD=ctsBtRBKHRAx69EqUghvvgEvjnaLjFEB
streamnative/nifi

References

https://stackoverflow.com/questions/55811413/is-it-possible-to-debug-apache-nifi-custom-processor

About

NiFi Processor for Apache Pulsar

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

13 stars

Watchers

0 watching

Forks

6 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.