Giter Club home page Giter Club logo

Comments (8)

wkerckho avatar wkerckho commented on July 20, 2024 1

I checked the master and I was able to successfully set a context-path. Routing through the reverse proxy is now possible! Thank you very much!

Any idea on when this version might be available as a Docker image?

from kafka-webview.

wkerckho avatar wkerckho commented on July 20, 2024 1

Super! I've got the Kafka Webview up and running in our Kubernetes cluster now!

from kafka-webview.

Crim avatar Crim commented on July 20, 2024

So I've made a first pass in the above PR to properly prefix the URLs in the templates making use of the server.servlet.context-path configuration property which can be defined in the application.yml file distributed with each release.

Unfortunately the above PR doesn't handle ALL of the URLs, most notably any generated from within javascript, or some links defined in CSS files (like font-awesome). I'll have to do some tinkering around to figure out how to sort those out.

from kafka-webview.

Crim avatar Crim commented on July 20, 2024

OK, I believe master now contains the required fixes to make this work. Are you able to validate from master?

You'll need to edit your config.yml file and add the following:

server:
  servlet:
    context-path: /prefix/here

from kafka-webview.

Crim avatar Crim commented on July 20, 2024

I'll cut a release tomorrow for you, let me know if you run into any issues before that.

Thanks for reporting the issue!

from kafka-webview.

Crim avatar Crim commented on July 20, 2024

Docker images should be updated.

from kafka-webview.

Crim avatar Crim commented on July 20, 2024

Great, going to close out this issue. Will post up a proper release here on github shortly.

from kafka-webview.

wkerckho avatar wkerckho commented on July 20, 2024

Could it be that the websocket endpoint for the streaming view still needs to be prefixed?

When I click the connect button, it tries a GET https://myhost/websocket/info?t=1550846293947, but this should also be GET https://myhost/{configured pathPrefix}/websocket/info?t=1550846293947.

from kafka-webview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.