You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2018/02/06 23:25:00 UTC

[jira] [Created] (KAFKA-6538) Enhance ByteStore exceptions with more context information

Matthias J. Sax created KAFKA-6538:
--------------------------------------

             Summary: Enhance ByteStore exceptions with more context information
                 Key: KAFKA-6538
                 URL: https://issues.apache.org/jira/browse/KAFKA-6538
             Project: Kafka
          Issue Type: Improvement
          Components: streams
    Affects Versions: 1.2.0
            Reporter: Matthias J. Sax


In KIP-182 we refactored all stores to by plain {{Bytes/byte[]}} stores and only have concrete key/value types on outer layers/wrappers of the stores.

For this reason, the most inner {{RocksDBStore}} cannot provide useful error messages anymore if a put/get/delete operation fails as it only handles plain bytes.

Therefore, we should enhance exceptions thrown from {{RocksDBStore}} with corresponding information for which key/value the operation failed in the wrapping stores (KeyValueStore, WindowedStored, and SessionStore).

Cf https://github.com/apache/kafka/pull/4518 that cleans up {{RocksDBStore}} exceptions.



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