streamnative / function-mesh

The serverless framework purpose-built for event streaming applications.
https://functionmesh.io/
Apache License 2.0
213 stars 29 forks source link

Update classpath to make it compatible with old runner image #789

Closed jiangpengcheng closed 2 weeks ago

jiangpengcheng commented 2 weeks ago

(If this PR fixes a github issue, please add Fixes #<xyz>.)

Fixes #

(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)

Master Issue: #

Motivation

The #787 is using /pulsar/instances/deps/* in classpath, but old java runner images doesn't have dataformat-jackson-dataformat-yaml related jar in the /pulsar/instances/deps/* dir, so they won't able to use yaml type log4j configs, this PR fixes this issue

Explain here the context, and why you're making that change. What is the problem you're trying to solve.

Modifications

Describe the modifications you've done.

Verifying this change

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

Documentation

Check the box below.

Need to update docs?