-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom krb5.conf file location (#87)
* Configuration option * Check for file exstence and set the property * Fix optional dereference * Remove empty line * Unit test * Trigger the exception * Reformating * Unit test for case when file exists * New parameter documentation * Prepare the release * Fix artefacts ref * Update doc/changes/changes_1.7.3.md Co-authored-by: Christoph Kuhnke <[email protected]> * Update doc/user_guide/user_guide.md Co-authored-by: Christoph Kuhnke <[email protected]> * Docs updates * Update commons-compress to fix CVE-2024-25710 and CVE-2024-26308 * PK update --------- Co-authored-by: Christoph Kuhnke <[email protected]>
- Loading branch information
Showing
10 changed files
with
224 additions
and
134 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Exasol Kafka Connector Extension 1.7.3, released 2024-02-20 | ||
|
||
Code name: Custom `krb5.conf` files support. | ||
|
||
## Summary | ||
|
||
Implemented support for custom `krb5.conf` files. | ||
Updated transient dependency to fix CVE-2024-25710 and CVE-2024-26308. | ||
|
||
## Features | ||
|
||
* #86: Add support for custom krb5.conf | ||
|
||
## Dependency Updates | ||
|
||
### Compile Dependency Updates | ||
|
||
* Added `org.apache.commons:commons-compress:1.26.0` | ||
|
||
### Plugin Dependency Updates | ||
|
||
* Updated `com.exasol:project-keeper-maven-plugin:3.0.0` to `3.0.1` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ checksum provided together with the jar file. | |
To check the SHA256 sum of the downloaded jar, run the command: | ||
|
||
```sh | ||
sha256sum exasol-kafka-connector-extension-1.7.2.jar | ||
sha256sum exasol-kafka-connector-extension-1.7.3.jar | ||
``` | ||
|
||
### Building From Source | ||
|
@@ -84,7 +84,7 @@ sbt assembly | |
``` | ||
|
||
The packaged jar file should be located at | ||
`target/scala-2.12/exasol-kafka-connector-extension-1.7.2.jar`. | ||
`target/scala-2.12/exasol-kafka-connector-extension-1.7.3.jar`. | ||
|
||
### Create an Exasol BucketFS Bucket | ||
|
||
|
@@ -106,7 +106,7 @@ jar, please make sure the BucketFS ports are open. | |
Upload the jar file using the `curl` command: | ||
|
||
```bash | ||
curl -X PUT -T exasol-kafka-connector-extension-1.7.2.jar \ | ||
curl -X PUT -T exasol-kafka-connector-extension-1.7.3.jar \ | ||
http://w:<WRITE_PASSWORD>@<EXASOL_DATANODE>:2580/<BUCKET_NAME>/ | ||
``` | ||
|
||
|
@@ -135,12 +135,12 @@ OPEN SCHEMA KAFKA_EXTENSION; | |
|
||
CREATE OR REPLACE JAVA SET SCRIPT KAFKA_CONSUMER(...) EMITS (...) AS | ||
%scriptclass com.exasol.cloudetl.kafka.KafkaConsumerQueryGenerator; | ||
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.2.jar; | ||
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.3.jar; | ||
/ | ||
|
||
CREATE OR REPLACE JAVA SET SCRIPT KAFKA_IMPORT(...) EMITS (...) AS | ||
%scriptclass com.exasol.cloudetl.kafka.KafkaTopicDataImporter; | ||
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.2.jar; | ||
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.3.jar; | ||
/ | ||
|
||
CREATE OR REPLACE JAVA SET SCRIPT KAFKA_METADATA( | ||
|
@@ -150,7 +150,7 @@ CREATE OR REPLACE JAVA SET SCRIPT KAFKA_METADATA( | |
) | ||
EMITS (partition_index DECIMAL(18, 0), max_offset DECIMAL(36,0)) AS | ||
%scriptclass com.exasol.cloudetl.kafka.KafkaTopicMetadataReader; | ||
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.2.jar; | ||
%jar /buckets/bfsdefault/<BUCKET>/exasol-kafka-connector-extension-1.7.3.jar; | ||
/ | ||
``` | ||
|
||
|
@@ -489,6 +489,8 @@ keyTab="/buckets/bfsdefault/bucket1/kafka.keytab" | |
principal="[email protected]"; | ||
``` | ||
In some complex setups, you might need to provide a custom ``krb5.conf`` file. Thes could be done by uploading it to the BucketFS and providing the path in ``SASL_KRB5CONF_LOCATION`` parameter, similar to ``SASL_JAAS_LOCATION``. | ||
## Importing Data From Azure Event Hubs | ||
To import data from [Azure Event Hubs][azure-event-hubs], we are going to create | ||
|
@@ -690,6 +692,10 @@ not in import statement itself. | |
more complex configuration of SASL authentication. It should refer to the file | ||
stored inside a bucket in Exasol BucketFS. | ||
|
||
* ``SASL_KRB5CONF_LOCATION`` - It is the location of the custom ``krb5.conf`` file. | ||
It should refer to the file stored inside a bucket in Exasol BucketFS. In default | ||
configuration, the path starts with ``/buckets/bfsdefault/<bucket_name>/`` | ||
|
||
[gh-releases]: https://github.com/exasol/kafka-connector-extension/releases | ||
[schema-registry]: https://docs.confluent.io/current/schema-registry/index.html | ||
[kafka-security]: https://kafka.apache.org/documentation/#security | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ error-tags: | |
KCE: | ||
packages: | ||
- com.exasol.cloudetl | ||
highest-index: 27 | ||
highest-index: 28 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters