Skip to content

[Bug] Fix the SPI extension admin-api loading of storage-plugins #4403

@Pil0tXia

Description

@Pil0tXia

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Windows

EventMesh version

master

What happened

storage-plugins didn't realize org.apache.eventmesh.api.admin.Admin and caused boot failure.

It is a quick fix, including:

  • mongodb
  • knative
  • pravega
  • pulsar

not including:

  • redis (assigned to @fabian4 )
  • kafka (full admin functions WIP)

How to reproduce

  1. SPI loading fail:

image

image

  1. circular dependency:

image

image

  1. NPE:

image

Progress

image

image

image

Fixing Pravega NPE ...

image

Fixed.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions