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

Consumer : Receive file with bytes form producer sometimes not complete #92

Open
DG-Wangtao opened this issue Mar 5, 2018 · 0 comments
Assignees

Comments

@DG-Wangtao
Copy link

Hi, Sorry to trouble.
When I use the consumer to receive a file which is about size of 3300 KB, sometimes I just get a part of it.
My file is sended in bytes with string like this "eNrsvHd0E9f67y2DAcuUgLEt2ZZkW5qRZFszkmxTb...." and I convert it to byte[] and then write to a local #file.
Is there some something wrong with my config?
Hope get your help.

NsqSharp.Config config = new Config() {
DialTimeout = new TimeSpan(0, 0, 3),
WriteTimeout = new TimeSpan(0, 1, 0),
};
cmd.Consumer = new Consumer(cmd.Topic, "channel" + cmd.SessionId, config);
@judwhite judwhite self-assigned this Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants