You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jo...@apache.org on 2024/01/23 21:28:51 UTC
(kafka-site) branch asf-site updated: MINOR: Sort powered by page output alphabetically (#567)
This is an automated email from the ASF dual-hosted git repository.
jolshan pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/kafka-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 427bc881 MINOR: Sort powered by page output alphabetically (#567)
427bc881 is described below
commit 427bc8819c2b5320aaeff9cb47825b671a165c8a
Author: Don <ds...@gmail.com>
AuthorDate: Tue Jan 23 16:28:47 2024 -0500
MINOR: Sort powered by page output alphabetically (#567)
- For fairness, output is sorted alphabetically by root domain
- Resize excessively large images, removing 1.5mb of page weight
- Fix a trailing space
- Add Deephaven
Reviewers: Justine Olshan <jo...@confluent.io>
---
images/powered-by/allegrograph-franz-logo.png | Bin 1420406 -> 23625 bytes
images/powered-by/cisco.png | Bin 216330 -> 22955 bytes
images/powered-by/deephaven.svg | 1 +
images/powered-by/dream11.jpg | Bin 141558 -> 13358 bytes
images/powered-by/hotels.jpg | Bin 107148 -> 29055 bytes
powered-by.html | 23 ++++++++++++++++++++++-
6 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/images/powered-by/allegrograph-franz-logo.png b/images/powered-by/allegrograph-franz-logo.png
index 5693894e..1320de92 100644
Binary files a/images/powered-by/allegrograph-franz-logo.png and b/images/powered-by/allegrograph-franz-logo.png differ
diff --git a/images/powered-by/cisco.png b/images/powered-by/cisco.png
index f8a857f2..0f2f7b77 100755
Binary files a/images/powered-by/cisco.png and b/images/powered-by/cisco.png differ
diff --git a/images/powered-by/deephaven.svg b/images/powered-by/deephaven.svg
new file mode 100644
index 00000000..7b32d38d
--- /dev/null
+++ b/images/powered-by/deephaven.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 150"><defs><style>.a{fill:#fff;}.b{fill:#fad45b;}.c{fill:#9ecd6f;}.d{fill:#ee5e82;}.e{fill:#65c4d8;}</style></defs><path class="a" d="M196,48.54a23.36,23.36,0,0,1,9.88,9.35,28.07,28.07,0,0,1,3.49,14.22,27.4,27.4,0,0,1-3.49,14.09A23,23,0,0,1,196,95.36a33.09,33.09,0,0,1-14.9,3.18h-17.4V45.29h17.4A32.45,32.45,0,0,1,196,48.54Zm-.57,37.82q5-5.06,5-14.25t-5-14.49q-5-5.2-14.33-5.21h-8.66v39h8.66Q190.48,91.41,195.46,86.36Z"/><path class="a [...]
\ No newline at end of file
diff --git a/images/powered-by/dream11.jpg b/images/powered-by/dream11.jpg
index db3adc22..ce5b554d 100644
Binary files a/images/powered-by/dream11.jpg and b/images/powered-by/dream11.jpg differ
diff --git a/images/powered-by/hotels.jpg b/images/powered-by/hotels.jpg
index 09cee50b..9e0ce43a 100755
Binary files a/images/powered-by/hotels.jpg and b/images/powered-by/hotels.jpg differ
diff --git a/powered-by.html b/powered-by.html
index 4037c9c2..58f16602 100644
--- a/powered-by.html
+++ b/powered-by.html
@@ -218,6 +218,11 @@
"logo": "datavisor.png",
"logoBgColor": "#ffffff",
"description": "DataVisor uses Apache Kafka as a critical real-time data pipeline that connects various micro-services in our fraud detection systems. Kafka is at the core of enabling our product to horizontally scale for large, enterprise data flows."
+ },{
+ "link": "https://deephaven.io/",
+ "logo": "deephaven.svg",
+ "logoBgColor": "#040427",
+ "description": "Deephaven is a query engine for streaming workloads. Deephaven enables you to ingest and <a href='https://deephaven.io/core/docs/how-to-guides/data-import-export/kafka-stream/' target='_blank'>transform Kafka feeds as live dataframes</a>."
}, {
"link": "https://developer.ibm.com/messaging/message-hub/",
"logo": "ibmmessagehub.png",
@@ -434,7 +439,7 @@
"logoBgColor": "#ffffff",
"description": "We use Kafka to ingest real-time event data, stream it to Storm and Hadoop, and then serve it from our Druid cluster to feed our interactive analytics dashboards. We've also built connectors for directly ingesting events from Kafka into Druid."
}, {
- "link": "https://www.moesif.com ",
+ "link": "https://www.moesif.com",
"logo": "moesif.png",
"logoBgColor": "#ffffff",
"description": "Moesif (an API analytics service) uses Kafka to power our pipeline to enrich large amounts of API event data. It's used as our backbone to ship that data to multiple data centers and services. It’s one of the most rock stable open source software out there for anyone in data processing."
@@ -808,6 +813,22 @@ $(function() { $('.b-nav__poweredby').addClass('selected'); });
<script>
$(function () {
+ // enforce alphabetical sort by root domain for fairness
+ poweredByItems.forEach(function getRootDomain(item) {
+ /**
+ * 1. remove the protocol
+ * ex. https://subdomain.example.com/kafka-article/whatever.html => subdomain.example.com/kafka-article/whatever.html
+ * 2. split the URL at the first occurrence of /, ?, or # and takes the first part
+ * ex. subdomain.example.com/kafka-article/whatever.html => subdomain.example.com
+ * 3. split the domain on . and take the last two parts
+ * ex. subdomain.example.com => example.com
+ */
+ item.domain = item.link.replace(/^https?:\/\//, '').split(/[/?#]/)[0].toLowerCase().split('.').slice(-2).join('.');
+ });
+ poweredByItems.sort(function(a, b) {
+ return a.domain.localeCompare(b.domain);
+ });
+
// loop through all Handlebar templates on the page and render them
for(var i = 0; i < poweredByItems.length; i++) {
var context = poweredByItems[i];