last day (35 days later) » 

1:34 AM
@saran k
please @ me if you're here.
 
2:02 AM
@IvanYang I'm here
 
hi
@sarank
 
hi
 
I see your comment
and you say that event hub trigger does not send event data, right?
section of your comment: they claim that Azure function event hub bind meant to be deal with receiving the data from the event hub, not for the output to the event hub
 
here is my query, If I can't send data direction azure function to event hub, without event hub trigger event hub cannot completely accept data, and ASA can't process it.
event hub trigger can send, but it just sends not batch send or multiple send at a time.
 
I want to know something, let's talk how to send event data first
 
2:06 AM
ok
 
your code used to send event data is correct, use azure function with output binding
 
yeah, it's correct I have verified it from azure support.
 
but as I mentioned in my update, the extension used for event hub output binding is hard code the max size to 256kb
so that's the error you encountered
do you have any question about this? just for sending event data?
 
no I don't have any question about this.
 
so you will reduce the data size for sending purpose, or something else?
 
2:09 AM
but now I know there is no way to send data to event hub from azure function without output bind.
 
if you choose to use azure function, as far as I know, maybe output binding is the correct way(even though it has size limitation)
 
If so, if there a situation that the user gets data from api and send it to the event hub. How can we do this
if I have 6 TU how much data I can send at a time
 
yes, there is way to send event data directly to event hub use event hub sdk, if not use azure function
 
but for me it has to server less.
so what can I do.
 
you need to reduce the data size as of now, or I will try other ways to see if it can work with larger size more than 256 kb
 
2:14 AM
if I have 6 TU how much data I can send at a time
still 256kb?
 
for azure function, I think it should be. Since it's hard code the max size.
and can you let me know why you have to use server less?
@sarank
 
for our case everything needs to be on cloud
No onpremise
 
but the larger file size is a big problem as now
 
that's okay, so, I need to split the data to 256kb right?
 
yes
 
2:29 AM
even If I get 2mb data at a time from source I need to split it to 8 pieces and send it as one by one?
can I use azure app service for this
can I use sdk and send it?
 
yeah, you can use sdk for sending this data. I did test just with sdk, with your data, it works fine
do you know azure web job?
similar to azure function, I thought it can do this task well.
but I need a test for azure web jobs
@sarank, if you still have some problem, please let me know
 
Please ping me after to tested it.
and do you have any sample code to split the data to 250 kb.
 
no sample code to split it as of now
I will test it with azure web jobs, and will update later.
note that MS suggests that split it to 240k(the left size maybe used by padding headers)
@sarank, and if my answer is helpful, could you please help mark it as answer? Thanks.
 
yeah. thank you
that's all, thanks for the info.
as of now I'll use minimum code
and please update me as soon as possible. because I'm on super dependent on this ork.
work**
 
 
1 hour later…
3:52 AM
@sarank, I test it with azure web jobs, it can work well with the data you provide
can you post a new question with title "how to use web job to send data to event hub with node js"
and let me know the url, then i can post the step and code
 
 
3 hours later…
6:25 AM
@sarank, if you have time, please post a new issue as mentioned above
 

  last day (35 days later) »