Github user michaelarusso commented on a diff in the pull request:

    https://github.com/apache/incubator-usergrid/pull/337#discussion_r36254680
  
    --- Diff: 
stack/core/src/main/java/org/apache/usergrid/corepersistence/asyncevents/AmazonAsyncEventService.java
 ---
    @@ -502,8 +509,18 @@ public void indexBatch(final List<EdgeScope> edges, 
final long updatedSince) {
             List batch = new ArrayList<EdgeScope>();
             for ( EdgeScope e : edges){
                 //change to id scope to avoid serialization issues
    -            batch.add(new EntityIndexEvent(new 
EntityIdScope(e.getApplicationScope(), e.getEdge().getTargetNode())));
    +            batch.add(new EntityIndexEvent(new 
EntityIdScope(e.getApplicationScope(), e.getEdge().getTargetNode()), 
updatedSince));
             }
    -        offerBatch(batch);
    +        offerBatch( batch );
    +    }
    +
    +
    +    /**
    +     * Subscribes to the observable and acks the message via SQS on 
completion
    +     * @param observable
    +     * @param message
    +     */
    +    private void subscibeAndAck( final Observable<?> observable, final 
QueueMessage message ){
    --- End diff --
    
    can we fix typo for subscribe?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to