Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi Attribute Limit

avatar

Hi,

Is there a limit (hard coded or performance) on the number of attributes that can be assigned to a single flowfile?

If not, what are the considerations (e.g. performance, space on disk, etc) for limiting the number of attributes?

Thanks,

1 ACCEPTED SOLUTION

avatar
Master Guru

There is no hard-coded limit, but there is definitely some limit in terms of performance. Flow File attributes are held in memory (in addition to being persisted to disk) so more attributes means more Java objects on the heap, means more garbage collection pressure. I don't think there is any way to set what the limit is because it depends on how much data is in the attributes, how much memory you have, how many flow files, etc.

View solution in original post

1 REPLY 1

avatar
Master Guru

There is no hard-coded limit, but there is definitely some limit in terms of performance. Flow File attributes are held in memory (in addition to being persisted to disk) so more attributes means more Java objects on the heap, means more garbage collection pressure. I don't think there is any way to set what the limit is because it depends on how much data is in the attributes, how much memory you have, how many flow files, etc.