Skip to content

Upgrade Vertx to 4.x #282

Open
Open
@alexellis

Description

@alexellis

Upgrade Vertx to 4.x

Expected Behaviour

We should have an option or change our main option for java11-vertx that means users can take advantage of the latest stable version of the Vertx framework

https://vertx.io/docs/vertx-web/java/

Current Behaviour

Still using 3.x

List All Possible Solutions and Workarounds

  • Change the template java11-vertx to just use the new library 4.x
  • Add a new template named java11-vertx4 with the new library 4.x
  • Do nothing and let users fork / maintain their own templates

Which Solution Do You Recommend?

I prefer 1 for its simplicity, and I was able to change the entrypoint and it just worked.

However, @pmlopes (Vert.x maintainer) tells me that there are breaking changes in 3 -> 4, that could affect some users. I am not sure what those are and do not have examples. They do not affect our hello-world app.

Steps to Reproduce (for bugs)

  1. Create a new function
  2. Navigate to the Vertx docs and see invalid instructions because they are written for v4

Context

An OpenFaaS Pro customer is using this template and has forked it to update the Vertx version, and I've had several calls with other prospective customers who have expressed an interest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions