Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Tanmaya Panda 5c9e65b3da upgrade release version 2023-10-27 18:40:04 +05:30
Tanmaya Panda a3829176c6 fix cve 2023-10-17 14:57:19 +05:30
Ramachandran A G b911bcfe90
* Update to new SDK (#108)
* Update to new SDK
* Update XERIAL snappy to address CVE
* Update README
2023-09-29 08:11:12 +05:30
Ramachandran A G fe9542cbfd
* Fix issue [Bug] aad.auth.strategy managed_identity does not work with v4.0.2 #105 (#106)
* Update dependencies
2023-08-16 18:34:58 +05:30
Ramachandran A G 69da65695c
Feature/update sdk jdk8 (#103)
* Update dependencies
* Fix vulnerabilities
2023-07-03 16:46:25 +05:30
Ramachandran A G fc7fc15a54
E2E Tests with test containers and formatting/import order fixes (#101)
* * Fix vulnerable libs
* Remove some additional steps in tests
* * Fix review on refreshing ingestion cache
* * Update dependencies
2023-05-09 18:23:11 +05:30
Ramachandran G be0cb4fadd * update to 4.0.4 2023-03-26 21:55:09 +05:30
Ramachandran G 1b0fffbdf6 * update to 4.0.4 2023-03-26 21:40:17 +05:30
Ramachandran A G e1d444c07b
* Fix CVE's in libraries (#99) 2023-03-16 12:06:00 +05:30
Adrien Bestel bb4adfb5b0
Upgrade Kusto SDK (#98)
* Upgrade Kusto SDK

Kusto SDK released a new major version in november 2022 with some breaking changes:
- The minimum JDK version for the SDK is now up to jdk 11
- Move to Blob Storage v12
- Remove org.json library to support secure systems that don't allow it. Some of the exception signatures have been changed to custom exception.

The latter change is the one having the most impacts on the connector: org.json is removed in favor of Jackson.
The KustoSinkConfig and KustoSinkTask were updated to take advantage of Jackson capabilities, in particular the mapping configuration is now deserialized to a POJO rather than doing operations on raw JSON objects.

* - leaner instantiation of the object mapper
- disable table access validation by default
- config exception on invalid mapping
- tests
- bump kafka clients version

* Update the documentation

* Cherry-pick changes to upgrade dependencies and fix deprecation warnings

* Format

* Rename KustoTableMapping to TopicToTableMapping
2023-03-15 20:39:48 +05:30
Ramachandran A G 6b0bfbc5d9
* Fix review comments in CheckMarx (#97)
* * Fix review comments in CheckMarx
* * Fix code review comments
* * Update POM / Release notes
* Remove cases in tests where stackTrace calls were used
* * Fix minor observations.Handle exceptions when setting permissions and ensure that they are warn logged
* * Read test files from stream using resource API as opposed to path based access
* * Fix review comments
* * Fix code formatting
2023-03-10 09:48:26 +05:30
Tanmaya Panda 583775f125 updated Readme and bumped release version 2022-12-15 17:13:41 +05:30
Ramachandran G 69037a788a * Add E2E Tests with proxy 2022-12-14 21:48:36 +05:30
Ramachandran A G 5870a7cced
* Fix release note and update POM revision (#93) 2022-12-06 19:22:50 +05:30
Tanmaya Panda a7fb5ae42b
fix cve errors (#90)
* fix cve errors

* changed version

* update jackson version to 2.13.4.2
2022-12-06 18:37:31 +05:30
Tanmaya Panda 11e89c6cd0 update kusto sdk version 2022-11-28 12:55:29 +05:30
Adrien Bestel ef142acab2
Feature: Add Managed Identity support (#86)
* Feature: Add Managed Identity support

azure-kusto-java added support for Managed Identities from version 3.0.0. This commit adds support of managed identities in the Kusto Sink.

There are now two ways to authenticate against Azure Active Directory:
- using an Azure AD Enterprise Application
- using a Managed Identity

Both are service principals, the only different is that Managed Identity used the Azure Instance MetaData Service (IMDS) to get OAuth2 tokens, without the need to use a password.

* Use an enumeration instead of a boolean to setup the way authentication should be done. This makes the configuration more trivial and the code is now less complex. This also allows to extend the authentication to other methods if needed.

Make the Tenant ID / Client ID optional for managed identities, only require it when validation of table access is enabled.

Update the README with some hints on managed identities.
2022-09-14 10:00:59 +05:30
Ramachandran A G 930c922af7
* Add formatter and reformat code as per azure-kusto-java (#85) 2022-09-07 15:41:09 +05:30
Tanmaya Panda 41797ff02c
Feature/remove mandatory mapping (#81)
* Fix issue#76. Make mapping optional
* Update README.md as per comments
* Add more tests

Co-authored-by: ohad bitton <32278684+ohadbitt@users.noreply.github.com>
Co-authored-by: Tanmaya Panda <tanmayapanda@Tanmayas-MacBook-Pro.local>
2022-09-05 15:43:14 +05:30
Ramachandran G e4fc754d7f * Update version to 3.0.3 in pom 2022-08-25 17:04:57 +05:30
Tanmaya Panda 400bd2a201 excluded kusto-data jackson-databind 2022-08-11 16:50:45 +05:30
Tanmaya Panda 65b0b15dac fix-cve-vulnerabilities 2022-08-10 17:04:11 +05:30
ag-ramachandran a4d0fcbd6e
* Add changes to support protobuf ingestion (#75)
* * Add changes to support protobuf ingestion

* * Add release changes to documentation
2022-07-25 15:59:38 +03:00
ohad bitton 8421d3880f
Wait on close (#71)
* close by first stop all

* close by first stop all

* v2.3.1

* stopped writer

* small

* dont finish file on close..

* fix test

* test

* synchronized

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
2022-06-13 10:53:47 +03:00
Ohad Bitton 324e48caeb kafka-connect-avro-converter 2022-06-06 14:19:22 +03:00
ohad bitton ec6c7f220d
v3.0.0 2022-06-06 14:13:29 +03:00
Ohad Bitton 0feed87a54 java sdk 3.1.1 2022-06-06 13:01:57 +03:00
ohad bitton 33fe1f92ee
Default flush time configuration change + streaming docs (#63)
* streaming documentation

* streaming documentation

* comments

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
2022-04-04 09:53:33 +03:00
ohad bitton 6dbd611a0f
Kusto Streaming (#61)
* streaming

* streaming

* test

* 2.2.0

* 2.2.0

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
Co-authored-by: KustoIbizaExtension Build <kustodev@microsoft.com>
2021-09-13 15:42:22 +03:00
KustoIbizaExtension Build bd4e1be76c fix build single 2021-07-25 16:40:20 +03:00
ohad bitton 856679f2db
Use sdk 2.8.2 (#57)
* sdk 2.8.2

* sdk 2.8.2

Co-authored-by: KustoIbizaExtension Build <kustodev@microsoft.com>
2021-07-08 17:41:58 +03:00
dependabot[bot] 4dc27c331f
Bump httpclient from 4.5.3 to 4.5.13 (#55)
Bumps httpclient from 4.5.3 to 4.5.13.

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpclient
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-05 20:41:06 +03:00
dependabot[bot] b3129073e3
Bump commons-io from 2.6 to 2.7
Bumps commons-io from 2.6 to 2.7.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 18:48:37 +00:00
Yihezkel Schoenbrun daac455fb0 Bump the version to 2.0.0 to because of the new required kusto.query.url parameter. 2020-11-12 17:32:20 +02:00
Yihezkel Schoenbrun 583836f4d6 Previously had test dependencies on both JUnit4 and JUnit5. Upgraded entire project to JUnit5, and removed JUnit4 dependencies. 2020-10-27 01:03:41 +02:00
ohad bitton 25f91b8dd3
Fix - temp dir and timer fix (#48)
* fix int cant be cast to long

* v1.0.3

* fix timer cancel

* v1.0.4

* 1.0.4

* v1.0.3

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
2020-10-14 21:24:00 +03:00
Yihezkel Schoenbrun 907b6235de
Dependabot suggested upgrading JUnit from 4.7 to >= 4.13.1 (#47)
Upgrading to 4.13.1 even though we're not affected by this vulnerability for the following reasons:
1)	This is for junit, which is not delivered anyway (pom test scope)
2)	We don't use any Rules, nevermind the vulnerable Rule "TemporaryFolder"
3)	We never execute this in a place where there are both:
a.	Sensitive data in a TemporaryFolder, and
b.	Untrusted users
2020-10-14 00:00:42 +03:00
ohad bitton e4d15149a1
Fix multijson (#45)
* fix int cant be cast to long

* multijson support
and fix int cant be cast to long

* v1.0.3

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
2020-10-13 00:22:20 +03:00
Yihezkel Schoenbrun 7acf94e109 Upgrade pom version in order to release with fix to Issue 41 (FETCH_TABLE_QUERY result throws exception due to being cast to int). 2020-10-06 03:36:23 +03:00
Anagha Khanolkar 7bada11723
Edits to the POM for the Confluent plugin - Connector Hub listing (#37) 2020-09-02 12:02:13 -05:00
Fahad Sheikh 6e526fc563
adding back to maven build plugin for uber jar (#36)
Co-authored-by: fahad <hasher@localhost>
2020-08-17 13:26:41 +03:00
Fahad Sheikh 9d9e0c3cfa
Connect build fix (#35)
* merged Azure/master

* Restructing project structure

* updated readme.md and pom.xml

* resolving PR comments

* removing unnecessary plugin

Co-authored-by: fahad <hasher@192.168.0.102>
Co-authored-by: fahad <hasher@localhost>
Co-authored-by: SanchayGupta1197 <sanchay.gupta@hashedin.com>
2020-08-13 17:52:42 +03:00
ohad bitton 41f1513ea7
Precommit null check (#34)
* null check

* shouldnt hide appId

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
2020-08-04 16:22:27 +03:00
hasher f0e1edd94e clean pom and readme file 2020-07-10 13:20:25 +05:30
SanchayGupta1197 cf96c8e881 Added repository to pom.xml 2020-07-08 19:58:30 +05:30
hasher caba9d4e82 clean the code and remove unwanted changes 2020-06-22 21:19:34 +05:30
hasher 696f63f37c Added struct support for json 2020-06-21 15:42:40 +05:30
hasher ea6417f7a9 Added different formatters and integeration test 2020-06-19 21:39:19 +05:30
Ohad Bitton e039c29ed4 Merge branch 'hashedin-error-handling' and use newer Java version which now has apacheAvro format support
# Conflicts:
#	src/main/java/com/microsoft/azure/kusto/kafka/connect/sink/KustoSinkConfig.java
#	src/main/java/com/microsoft/azure/kusto/kafka/connect/sink/KustoSinkTask.java
#	src/test/java/com/microsoft/azure/kusto/kafka/connect/sink/KustoSinkTaskTest.java
2020-06-14 13:40:24 +03:00
Ohad Bitton deb26d5288 version 2020-06-11 12:25:51 +03:00