xuesong172500 opened a new issue #7551:
URL: https://github.com/apache/pulsar/issues/7551


   **Describe the bug**
   Function if you use fat jar ${PULSAR_HOME}/instance/deps directory does not 
work. 
   If a non fat jar is used, it will cause many problems. 
   For example, 
   1. Use a custom schema structure in the input and output types of the 
function. This schema structure is in another jar, and it must be put into 
${PULSAR_HOME}/lib directory, if the schema modifies the member variables, you 
must restart functions worker;
   2. When creating function, function jar must also be placed in 
${PULSAR_HOME}/instance/deps directory can it be used normally. In this way, 
from create function to run successful, the jar of fuction should have 3 
copies: 
   1) function jar directory specified in bin/pulsar admin --jar 
${FUNCTION_JAR_PATH}; 
   2) ${PULSAR_HOME}/download directory;
   3) ${PULSAR_HOME}/instance/deps directory;
   
   which is too difficult to manage.
   
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   


----------------------------------------------------------------
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]


Reply via email to