Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

181
Vistas
Using KSQLDB rest api client side

I'm trying to create a push query in my react native app and read the results.

What I have so far is...

const requestOptions = {
  method: 'POST',
  headers: { 'Content-Type': 'application/vnd.ksql.v1+json'},
  body: JSON.stringify({ ksql: `SELECT * FROM my_stream EMIT CHANGES;` }),
};
fetch('http://localhost:8088/query', requestOptions)
    .then(response => console.log(response.json()))

This successfully creates the push query but I'm not sure how to read the query results as they come in. Since the query continuously runs, I don't get any response. Is it possible to read from a push query that is created from a fetch request?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda