question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possibility to add builtin Pulsar Functions with a shared jar copied inside the function folder

See original GitHub issue

Is your feature request related to a problem? Please describe. In order to create a pulsar function you have to build a fat jar (or nar) and the submit the jar when you create the function. The jar is copied by default inside pulsar/tmp/function_name. Currently it is not possible to load a shared jar containing one or more functions to be used without loading the jar (something similar to what is happening loading the a nar containing pulsar IO Sources/Sinks inside che connectors folder).

This could have the following benefits:

  • Function can be distributed with the installation and users can create functions from builtin jars / nars without having the jar / nar file
  • In case of multiple functions (with different functions names) using the same jar, the latter is not duplicated every time a new function is created

Describe the solution you’d like The possibility to create a new function loading the relative jar (if the function is not one of the builtin ones) or instantiate a new function using the builtin ones the are copied inside the function folder (like the connectors)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolo-paganincommented, May 6, 2020

@sijie I created a PR for this, could you please look at it? Thanks

1reaction
sijiecommented, Jan 11, 2020

@itaross I have included this task into the Pulsar release 2.6.0. If you have any features that would like to see in 2.6.0, please comment in #5819. We will prioritize those features.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package Pulsar Functions
Open the target directory to check if there is a JAR package similar to java-function-1.0-SNAPSHOT.jar . Run the Java function. (1) Copy the...
Read more >
Mastering Apache Pulsar
Through detailed examples, you'll learn Pulsar's design principles, reliability guarantees, key APIs, and architecture details, including the ...
Read more >
Pulsar Functions Deep Dive - StreamNative
It's structure, called a FunctionConfig, has a tenant, a namespace and a name. The functions consume inputs and outputs, user configurations, ...
Read more >
Transform Functions :: DataStax Streaming Docs
A Pulsar transform function is a low-code implementation of Pulsar functions. Functions receive data from one or more input topics, apply user-supplied ...
Read more >
Introducing Pulsar Functions - Splunk
Pulsar Functions enables you to easily deploy and manage processing functions that consume messages from and publish messages to Pulsar topics.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found