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

279
Vistas
Nodejs aws-sdk v2 read AVRO file

I'm using aws-sdk v2 precisely "aws-sdk": "2.1032.0". I have avro files in a AWS S3. To read them I use the following:

const response = await s3.getObject({
      Bucket: 'bucketname',
      Key: 'key'
    }).promise();

const data = response.Body.toString()

The problem is that the data not decoded correctly check this result for example: Objavro.schema�{"type":"record","name". I tried toString('binary'), toString('utf-8') but basically we get the same result.

Any idea how to read properly the content of the Avro file from S3?

Thank you

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