[ 
https://issues.apache.org/jira/browse/AVRO-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585500#comment-16585500
 ] 

William Matthews commented on AVRO-2178:
----------------------------------------

I have a pull request tracked in 
https://issues.apache.org/jira/browse/AVRO-2214 to add support for seeking. 
It'd give you a bit of a work around of "read to the end, stat the file until 
it grows, seek to the last known sync marker, read to the end, repeat". Would 
something like that work for you?

> avro C++ api support of tail reading of a growing avro file
> -----------------------------------------------------------
>
>                 Key: AVRO-2178
>                 URL: https://issues.apache.org/jira/browse/AVRO-2178
>             Project: Avro
>          Issue Type: Improvement
>          Components: c++
>    Affects Versions: 1.8.2
>            Reporter: peien
>            Priority: Major
>
> Two processes, one is writing to an avro data file, another wishes to read 
> the latest written data.
> The problem with current C++ API is that when it reaches the EOF, an 
> exception will be thrown, and from the user perspective, I have no way to 
> retry or 'tail read' it again from the last good position.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to