-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ascii Art Loading Fix (All Connectors) (#941)
- Loading branch information
1 parent
e263402
commit 6df7680
Showing
23 changed files
with
145 additions
and
76 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
kafka-connect-aws-s3/src/main/resources/aws-s3-sink-ascii.txt
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,28 @@ | ||
|
||
████████▀▀▀▀▀███████████████████████████████████████████████████████████████████ | ||
█████▀ ▀████████████████████████████████████████████████████████████████ | ||
███▀ ▄█████▄ ▀██████████████████████████████████████████████████████████████ | ||
███ ▄███████▄ ██████ █████▌ █▌ ████ ███ ▄▄ ██ ███ ▄▄ ███ | ||
███ █████████ ██████ █████▌ ██████▌ ▀██ ██ ██████ ██████ ███████ | ||
███ ▀███████▀ ██████ █████▌ ██▌ █▄ █ ███▄▄ ██ ███▄▄ ███ | ||
████▄ ▄███████ █████▌ ██████▌ ███ ███████ █ ███████████ ██ | ||
█████████ ████████████ ▌ █▌ ████▄ ██▄ ▄██ █▄ ▄███ | ||
█████████ ████████████████████████████████████████████████████████████████████ | ||
█████████ ▄████████████████████████████████████████████████████████████████████ | ||
████████████████████████████████████████████████████████████████████████████████ | ||
__ _______ _____ ____ | ||
/\ \ / / ____| / ____|___ \ | ||
/ \ \ /\ / / (___ | (___ __) | | ||
/ /\ \ \/ \/ / \___ \ \___ \ |__ < | ||
/ ____ \ /\ / ____) | ____) |___) | | ||
/_/____\_\/ \/ _|_____/ |_____/|____/ | ||
/ ____(_) | | | ||
| (___ _ _ __ | | __ | ||
\___ \| | '_ \| |/ / | ||
____) | | | | | < | ||
|_____/|_|_| |_|_|\_\ _ | ||
/ ____| | | | ||
| | ___ _ __ _ __ ___ ___| |_ ___ _ __ | ||
| | / _ \| '_ \| '_ \ / _ \/ __| __/ _ \| '__| | ||
| |___| (_) | | | | | | | __/ (__| || (_) | | | ||
\_____\___/|_| |_|_| |_|\___|\___|\__\___/|_| |
28 changes: 28 additions & 0 deletions
28
kafka-connect-aws-s3/src/main/resources/aws-s3-source-ascii.txt
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,28 @@ | ||
|
||
████████▀▀▀▀▀███████████████████████████████████████████████████████████████████ | ||
█████▀ ▀████████████████████████████████████████████████████████████████ | ||
███▀ ▄█████▄ ▀██████████████████████████████████████████████████████████████ | ||
███ ▄███████▄ ██████ █████▌ █▌ ████ ███ ▄▄ ██ ███ ▄▄ ███ | ||
███ █████████ ██████ █████▌ ██████▌ ▀██ ██ ██████ ██████ ███████ | ||
███ ▀███████▀ ██████ █████▌ ██▌ █▄ █ ███▄▄ ██ ███▄▄ ███ | ||
████▄ ▄███████ █████▌ ██████▌ ███ ███████ █ ███████████ ██ | ||
█████████ ████████████ ▌ █▌ ████▄ ██▄ ▄██ █▄ ▄███ | ||
█████████ ████████████████████████████████████████████████████████████████████ | ||
█████████ ▄████████████████████████████████████████████████████████████████████ | ||
████████████████████████████████████████████████████████████████████████████████ | ||
__ _______ _____ ____ | ||
/\ \ / / ____| / ____|___ \ | ||
/ \ \ /\ / / (___ | (___ __) | | ||
/ /\ \ \/ \/ / \___ \ \___ \ |__ < | ||
/ ____ \ /\ / ____) | ____) |___) | | ||
/_/____\_\/ \/ |_____/ |_____/|____/ | ||
/ ____| | ||
| (___ ___ _ _ _ __ ___ ___ | ||
\___ \ / _ \| | | | '__/ __/ _ \ | ||
____) | (_) | |_| | | | (_| __/ | ||
|_____/ \___/ \__,_|_| \___\___| _ | ||
/ ____| | | | ||
| | ___ _ __ _ __ ___ ___| |_ ___ _ __ | ||
| | / _ \| '_ \| '_ \ / _ \/ __| __/ _ \| '__| | ||
| |___| (_) | | | | | | | __/ (__| || (_) | | | ||
\_____\___/|_| |_|_| |_|\___|\___|\__\___/|_| |
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
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
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
37 changes: 37 additions & 0 deletions
37
...ommon/src/main/scala/com/datamountaineer/streamreactor/common/utils/AsciiArtPrinter.scala
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,37 @@ | ||
/* | ||
* Copyright 2017-2023 Lenses.io Ltd | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.datamountaineer.streamreactor.common.utils | ||
|
||
import com.typesafe.scalalogging.LazyLogging | ||
|
||
import java.nio.charset.CodingErrorAction | ||
import scala.io.Codec | ||
import scala.io.Source | ||
|
||
object AsciiArtPrinter extends LazyLogging { | ||
|
||
def printAsciiHeader(manifest: JarManifest, asciiArtResource: String): Unit = { | ||
implicit val codec: Codec = Codec("UTF-8") | ||
codec.onMalformedInput(CodingErrorAction.REPLACE) | ||
codec.onUnmappableCharacter(CodingErrorAction.REPLACE) | ||
logger.info( | ||
Source.fromInputStream( | ||
getClass.getResourceAsStream(asciiArtResource), | ||
).mkString + s" ${manifest.version()}", | ||
) | ||
logger.info(manifest.printManifest()) | ||
} | ||
} |
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
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
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
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
Oops, something went wrong.