ruby-kafka 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +4 -0
 - data/lib/kafka/consumer.rb +3 -1
 - data/lib/kafka/consumer_group.rb +4 -0
 - data/lib/kafka/version.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: fd38acffae8d842eaebaae2040a110795eeea0f25ff2245922602ca830aa4d54
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: afe243ac58b8b12e67f40200084952891c83051b2ab840575f6f736ba68195e7
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 60db92eccd0fc6ae28b417756d68d55e452fbefbf1072e9dae920a460597d1804d33feeefe52ebeabb2f40d226a3960fafb37c6940e92bdbda5c5d5a293626af
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 2f53313b0d67bb248ad25f8a57e414291e1abe45d75c0fa2724037dd9474679077cbd0c9b05a55057b025cc797d6caf3799e6c69dc708e451ce7c6ab624a8ecd
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -4,6 +4,10 @@ Changes and additions to the library will be listed here. 
     | 
|
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            ## Unreleased
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
      
 7 
     | 
    
         
            +
            ## v0.6.4
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            - Fix bug that caused consumers to jump back and reprocess messages (#595).
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       7 
11 
     | 
    
         
             
            ## v0.6.3
         
     | 
| 
       8 
12 
     | 
    
         | 
| 
       9 
13 
     | 
    
         
             
            - Allow configuring the max size of the queue connecting the fetcher thread with the consumer.
         
     | 
    
        data/lib/kafka/consumer.rb
    CHANGED
    
    | 
         @@ -509,7 +509,9 @@ module Kafka 
     | 
|
| 
       509 
509 
     | 
    
         | 
| 
       510 
510 
     | 
    
         
             
                    case tag
         
     | 
| 
       511 
511 
     | 
    
         
             
                    when :batches
         
     | 
| 
       512 
     | 
    
         
            -
                       
     | 
| 
      
 512 
     | 
    
         
            +
                      # make sure any old batches, fetched prior to the completion of a consumer group sync,
         
     | 
| 
      
 513 
     | 
    
         
            +
                      # are only processed if the batches are from brokers for which this broker is still responsible.
         
     | 
| 
      
 514 
     | 
    
         
            +
                      message.select { |batch| @group.assigned_to?(batch.topic, batch.partition) }
         
     | 
| 
       513 
515 
     | 
    
         
             
                    when :exception
         
     | 
| 
       514 
516 
     | 
    
         
             
                      raise message
         
     | 
| 
       515 
517 
     | 
    
         
             
                    end
         
     | 
    
        data/lib/kafka/consumer_group.rb
    CHANGED
    
    
    
        data/lib/kafka/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: ruby-kafka
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.6. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.6.5
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Daniel Schierbeck
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2018-06- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2018-06-06 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     |