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

File extension does not read whole content when copied via a filezilla(via a ftp server) #1047

Open
dnwick opened this issue Oct 14, 2019 · 0 comments

Comments

@dnwick
Copy link
Contributor

dnwick commented Oct 14, 2019

Description:
When file extension used to read a file which is copying on the fly it does not read whole content

Along with above issues there are also a issue which attribute "move" should be in uppercase as well. Need to fix that as well

Suggested Labels:

Suggested Assignees:

Affected Product Version:
SP 4.4.0
OS, DB, other environment details and versions:

Steps to reproduce:

  • Use following siddhi app

@source(type='file', mode='LINE', dir.uri='file:/Users/dnwick/java/support/source', action.after.process='move', action.after.failure = 'move',
move.after.process='file:/Users/dnwick/java/target/processed', move.after.failure = 'file:/Users/dnwick/java/support/failuer/', tailing='false',add.event.separator = 'false',
@Map(type='csv'))
define stream FooStream (attr1 int, attr2 long, attr3 long,attr4 long,attr5 string,attr6 string,attr7 int);

define stream OutputStream (attr1 int, attr2 long, attr3 long,attr4 long,attr5 string,attr6 string,attr7 int);

@info(name = 'SiddhiApp2')
from FooStream#log("READ_VALUES")
select *
insert into OutputStream;

  • FTP a csv file using filezilla to the source location

Related Issues:

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

1 participant