Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

269
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!