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

[fix][client] Add support to TableView to read encrypted messages #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

rbarbey
Copy link
Owner

@rbarbey rbarbey commented Dec 23, 2022

Fixes apache#19007

Motivation

This PR adds support for a TableView to read encrypted messages from a topic.

Modifications

Analogous to ReaderBuilder, I've added methods to TableViewBuilder that allow to specify a CryptoKeyReader and a ConsumerCryptoFailureAction. The respective values are stored in TableViewConfigurationData and forwarded to the ReaderBuilder instance inside TableViewImpl when the Reader is constructed.

Verifying this change

  • Make sure that the change passes the CI checks.

This change added tests and can be verified as follows:

  • Added unit tests for TableViewImpl and TableViewBuilderImpl
  • Extended integration test verifying that encrypted messages can be read inside a TableView

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • The public API

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@github-actions
Copy link

The pr had no activity for 30 days, mark with Stale label.

@github-actions github-actions bot added the Stale label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] TableView does not support reading from encrypted topics
1 participant