Skip to content

Commit 9635483

Browse files
authored
A couple of tiny fixes (#205)
* Fix typos in README.md * Add the appending service transformer so MongoDB data source/sink can be used.
1 parent 8afa0ce commit 9635483

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ Any additional properties for the `DataStreamWriter` can be added with the prefi
298298
| Property Name | Required | Description |
299299
| :--- | :---: | :--- |
300300
| `writer.mongodb.uri` | Yes | Output MongoDB URI, e.g. `mongodb://host:port/database.collection`. |
301-
| `writer.parquet.database` | No | Database name (if not specified as the part of URI). |
302-
| `writer.parquet.collection` | No | Collection name (if not specified as the part of URI). |
301+
| `writer.mongodb.database` | No | Database name (if not specified as the part of URI). |
302+
| `writer.mongodb.collection` | No | Collection name (if not specified as the part of URI). |
303303
| `writer.common.trigger.type` | No | See [Combination writer properties](#common-writer-properties) |
304304
| `writer.common.trigger.processing.time` | No | See [Combination writer properties](#common-writer-properties) |
305305

hyperdrive-release_spark-2/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
<Implementation-Version>${buildNumber}</Implementation-Version>
7575
</manifestEntries>
7676
</transformer>
77+
<!-- This allows to support several library data sources for Spark by referring to them by short name. -->
78+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
7779
</transformers>
7880
<filters>
7981
<filter>

hyperdrive-release_spark-3/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
<Implementation-Version>${buildNumber}</Implementation-Version>
7575
</manifestEntries>
7676
</transformer>
77+
<!-- This allows to support several library data sources for Spark by referring to them by short name. -->
78+
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
7779
</transformers>
7880
<filters>
7981
<filter>

0 commit comments

Comments
 (0)