Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Google Magika for file type detection instead of Apache Tika #6239

Open
vlsi opened this issue Feb 16, 2024 · 2 comments
Open

Use Google Magika for file type detection instead of Apache Tika #6239

vlsi opened this issue Feb 16, 2024 · 2 comments

Comments

@vlsi
Copy link
Collaborator

vlsi commented Feb 16, 2024

Use case

Currently, JMeter uses Tika to detect file type

Possible solution

We could replace Tika with https://google.github.io/magika/

On the other hand, Magika depends on Tensorflow, which might be a non-trivial dependency

Possible workarounds

No response

JMeter Version

5.6.3

Java Version

No response

OS Version

No response

@FSchumacher
Copy link
Contributor

Do we have a real problem with using Tika?
I read the repo of magika, that it is a python (and javascript?) solution. Is it easy to add to our dependencies? Is it working locally (without internet access)?

@vlsi
Copy link
Collaborator Author

vlsi commented Feb 16, 2024

I thought tika consumed significant space dependency-wise.
Magika model is ~1MiB. However, Magika requires tensorflow, so it would probably involve a lot of deps :(
Yes, it works without Internet access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants