Kusto Ingestion queue
Hey all, wondering if anyone knows this:
I'm trying to queue a list of models into a kusto cluster (ADX) and I figured I could basically turn each of these data models into a string and queue from MemoryStream, though I do realize that might not be optimal for the system.
Adding to queue from a local database might be better but that creates other latency issues that I wish to avoid.
So for now the memorystream is my to-go option.
However...
I would need to know if I can queue all items in one go?
Like for example:
Where I have overwrite ToString() on the models that look like:
Is this the right way to do this? or should I queue all items individually?
1 Reply
To note, this is my current
Create
method (called Queue
)
and what's more, does the MemoryStream
dispose of the used memory after usage in the query? or do I have to dispose of that memory myself still?