Skip to content

Commit

Permalink
Merge pull request #2458 from opensearch-project/main
Browse files Browse the repository at this point in the history
Push out Data Prepper 2.6.0 & menu edit
  • Loading branch information
nateynateynate authored Nov 28, 2023
2 parents 771d61b + 09c30e3 commit 12c5d12
Show file tree
Hide file tree
Showing 57 changed files with 422 additions and 326 deletions.
21 changes: 21 additions & 0 deletions _artifacts/data-prepper/data-prepper-2.6.0-docker-x64.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
role: ingest
artifact_id: data-prepper
version: data-prepper-2.6.0
platform: docker
type: docker
architecture: x64
slug: data-prepper-2.6.0-docker-x64
category: opensearch
inline_instructions:
- label: "Docker Hub"
code: docker pull opensearchproject/data-prepper:2.6.0
link:
label: View on Docker Hub
url: https://hub.docker.com/r/opensearchproject/data-prepper/tags?page=1&ordering=last_updated&name=2.6.0
- label: "Amazon ECR"
code: docker pull public.ecr.aws/opensearchproject/data-prepper:2.6.0
link:
label: View on Amazon ECR
url: https://gallery.ecr.aws/opensearchproject/data-prepper
---
12 changes: 12 additions & 0 deletions _artifacts/data-prepper/data-prepper-2.6.0-linux-x64.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
role: ingest
artifact_id: data-prepper
version: data-prepper-2.6.0
platform: linux
architecture: x64
type: targz
artifact_url: https://artifacts.opensearch.org/data-prepper/2.6.0/opensearch-data-prepper-jdk-2.6.0-linux-x64.tar.gz
signature: https://artifacts.opensearch.org/data-prepper/2.6.0/opensearch-data-prepper-jdk-2.6.0-linux-x64.tar.gz.sig
slug: data-prepper-jdk-2.6.0-linux-x64
category: opensearch
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
role: ingest
artifact_id: data-prepper-no-jdk
version: data-prepper-2.6.0
platform: linux
architecture: x64
type: targz
artifact_url: https://artifacts.opensearch.org/data-prepper/2.6.0/opensearch-data-prepper-2.6.0-linux-x64.tar.gz
signature: https://artifacts.opensearch.org/data-prepper/2.6.0/opensearch-data-prepper-2.6.0-linux-x64.tar.gz.sig
slug: data-prepper-2.6.0-linux-x64
category: opensearch
---
16 changes: 15 additions & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,15 @@
const childUL = getSubMenu(button);
const height = childUL?.scrollHeight;
childUL?.style?.setProperty?.('--expanded-height', `${height}px`);
childUL?.classList?.add?.('nested-nav--menu__mobile-hidden-collapsed');
}
function onNestedNavMenuTransitionEnd(e) {
const { target } = e;
if (!target?.hasAttribute?.('expanded')) {
target?.classList.add('nested-nav--menu__mobile-hidden-collapsed');
}
}

function onToggleButtonClick(e) {
const visibleClassName = 'opensearch-toggle-button-link__visible';
const visibleSelector = `.${visibleClassName}`;
Expand All @@ -214,8 +222,14 @@
invisibleLink.classList.add(visibleClassName);

const childUL = getSubMenu(toggle);
childUL?.toggleAttribute?.('expanded');
const isAlreadyExpanded = childUL?.getAttribute?.('expanded') ?? false;
if (childUL.classList.contains('nested-nav--menu__mobile-hidden-collapsed')) {
childUL?.classList?.remove?.('nested-nav--menu__mobile-hidden-collapsed');
}
window.setTimeout(() => childUL?.toggleAttribute?.('expanded'), 60);
}

document.querySelector('#top .nested-nav')?.addEventListener?.('transitionend', onNestedNavMenuTransitionEnd);
const topNavigationToggleButtons = document.querySelectorAll('#top .opensearch-toggle-button--wrapper');
for (let i = 0; i < topNavigationToggleButtons.length; ++i) {
const button = topNavigationToggleButtons[i];
Expand Down
6 changes: 0 additions & 6 deletions _layouts/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ <h2>Featured Blog Posts</h2>
<div class="landing-page-solutions--hero-3up--hero">
{% assign first_post = site.posts[0] %}
{% assign first_post_featured_image = first_post.featured_image %}
{% assign first_post_author = site.authors | where: "github", first_post.authors[0] | first %}
{% if first_post.categories and first_post.categories.first %}
{% comment %} Usually posts have a categories property that is an array. {% endcomment %}
{% assign first_post_category = first_post.categories | first %}
Expand Down Expand Up @@ -70,11 +69,6 @@ <h2>Featured Blog Posts</h2>
{% assign new_category_chars = category_chars | slice: 0, new_category_length %}
{% assign first_post_category = new_category_chars | join: "" %}
{% endif %}
{% if first_post_author %}
{% assign first_post_author_twitter = first_post_author.twitter | default: "OpenSearchProj" %}
{% else %}
{% assign first_post_author_twitter = "OpenSearchProj" %}
{% endif %}
<div class="landing-page-solutions--hero-3up--hero--image">
<img src="/assets/img/blog-hero-placeholder.png"
alt="Featured Image for {{ first_post.title }}">
Expand Down
88 changes: 88 additions & 0 deletions _posts/2023-11-27-Announcing-Data-Prepper-2.6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
layout: post
title: "Announcing Data Prepper 2.6.0"
authors:
- dlv
date: 2023-11-28 13:30:00 -0600
categories:
- releases
meta_keywords: Data Prepper DynamoDB source, Apache Kafka buffer, OpenSearch Serverless network policy
meta_description: With Data Prepper 2.6.0 you can ingest data from DynamoDB, improve data durability using the new Apache Kafka buffer, and automatically connect to Amazon OpenSearch Serverless collections.
---

Data Prepper 2.6.0 is now available for [download](https://opensearch.org/downloads.html#data-prepper).
Now you can now ingest data from DynamoDB, improve data durability by using the new Kafka buffer, and automatically connect to Amazon OpenSearch Serverless collections.


## DynamoDB source

[Amazon DynamoDB](https://aws.amazon.com/dynamodb/) is a high-scale, high-performance key-value database.
Generally, developers will query DynamoDB on the primary index and secondary indexes.
However, many teams would also like to search and analyze data in DynamoDB.
Now you can use Data Prepper and OpenSearch to search and analyze DynamoDB data.

Data Prepper's new `dynamodb` source ingests items from a DynamoDB table so that you can index those items in OpenSearch.
You can import existing data that was backed up by DynamoDB's point-in-time recovery.
For new data, Data Prepper can read from DynamoDB Streams to keep your OpenSearch cluster's data up-to-date with DynamoDB.

The feature supports change data capture (CDC), so it will keep the OpenSearch index up-to-date with DynamoDB.
You can add items, update items, and delete them.
Data Prepper will handle the complicated work of moving this data for you.

## Kafka buffer

Data Prepper provides [end-to-end acknowledgements]({{site.baseurl}}/blog/End-to-end-acknowledgements-in-Data-Prepper) to ensure that data from pull-based sources reaches OpenSearch.
For push-based sources, Data Prepper currently has an in-memory buffer, but there is some risk of losing data when the node crashes.
For these sources, we can improve durability by storing data in an external system instead of locally on the Data Prepper node.

[Apache Kafka](https://kafka.apache.org/) is an open-source event streaming platform.
It is highly durable and can store events for as long as you configure them.
This makes it a great choice for durable storage of events in Data Prepper.

Data Prepper now has a new `kafka` buffer type that uses Kafka to store data in flight.
You can use this feature to send data directly to Data Prepper and hold the data in Kafka before Data Prepper saves it to OpenSearch.

Now existing clients such as the [OpenTelemetry Collector](https://opentelemetry.io/docs/collector/) and [Fluent Bit](https://fluentbit.io/) can send data to Data Prepper just as they do now, but with better durability.
You can abstract the internals of how you store data in Data Prepper and won't need to change those client configurations.

Additionally, Data Prepper's `kafka` buffer supports per-event encryption so that you can perform client-side encryption if needed.

## Amazon OpenSearch Serverless improvements

Data Prepper improves integration with [Amazon OpenSearch Serverless](https://aws.amazon.com/opensearch-service/features/serverless/) with new options to update the network policy.
With this feature, you can configure Data Prepper to create an OpenSearch Serverless network policy to your VPC-based collections.
This simplifies some of the setup for developers who have the necessary permissions to create this policy.
This new configuration is available for both the OpenSearch sink and source.

## Other features

* Data Prepper's `s3` source provides duplication protection by extending the visibility timeout for Amazon Simple Queue Service (SQS) messages. We encourage users to add the necessary permissions and use this feature to avoid data duplication.
* The `opensearch` source now allows for configuring a `distribution_version` to connect with ElasticSearch 7 clusters.


## Getting started

* To download Data Prepper, see the [OpenSearch downloads](https://opensearch.org/downloads.html) page.
* For instructions on how to get started with Data Prepper, see [Getting started with Data Prepper](https://opensearch.org/docs/latest/data-prepper/getting-started/).
* To learn more about the work in progress for Data Prepper 2.7, see the [Data Prepper roadmap](https://github.com/opensearch-project/data-prepper/projects/1).

## Thanks to our contributors!

The following people contributed to this release. Thank you!

* [asuresh8](https://github.com/asuresh8) - Adi Suresh
* [asifsmohammed](https://github.com/asifsmohammed) - Asif Sohail Mohammed
* [chenqi0805](https://github.com/chenqi0805) - Qi Chen
* [daixba](https://github.com/daixba) - Aiden Dai
* [dinujoh](https://github.com/dinujoh) - Dinu John
* [dlvenable](https://github.com/dlvenable) - David Venable
* [engechas](https://github.com/engechas) - Chase Engelbrecht
* [graytaylor0](https://github.com/graytaylor0) - Taylor Gray
* [hshardeesi](https://github.com/hshardeesi) – Hardeep Singh
* [KarstenSchnitter](https://github.com/KarstenSchnitter) - Karsten Schnitter
* [kkondaka](https://github.com/kkondaka) - Krishna Kondaka
* [mallikagogoi7](https://github.com/mallikagogoi7)
* [oeyh](https://github.com/oeyh) - Hai Yan
* [Periecle](https://github.com/Periecle) - Roman Kvasnytskyi
* [reta](https://github.com/reta) - Andriy Redko
* [wanghd89](https://github.com/wanghd89)
20 changes: 10 additions & 10 deletions _sass/_community_projects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

.community_project {
text-align: left;
margin: 0 -1.8rem;
margin: 0 -18px;

// Card view on larger screens
@include respond-min(860px) {
Expand Down Expand Up @@ -52,7 +52,7 @@
}

.project-info {
padding: 0 1.8rem;
padding: 0 18px;
margin-bottom: auto;
}

Expand Down Expand Up @@ -80,19 +80,19 @@
}
}
.description {
font-size: 1.6rem; //reset to 16px;
font-size: 16px; //reset to 16px;
margin-top: .5em;
margin-bottom: .5em;
}

.extras-group {
font-size: 1.4rem;
padding: 0 1.8rem;
font-size: 14px;
padding: 0 18px;

@include respond-min(860px) {
border-top: 1px solid $line;
margin-top: 1em;
padding: 1.8rem 1.8rem 0;
padding: 18px 18px 0;
display: flex;
justify-content: flex-start;
flex-direction: column;
Expand All @@ -115,19 +115,19 @@

// Adds a bit of margin between items
& + .extra {
margin-top: .8rem;
margin-top: 8px;
}
}

.download {
display: inline-block;
font-size: 1.6rem;
border-radius: .8rem;
font-size: 16px;
border-radius: 8px;
margin-top: 1em;
background-color: $core;
color: $highlight-lightest;
text-decoration: none;
padding: 1.2rem 2.4rem;
padding: 12px 24px;
transition: all .125s ease-out;

@include sans-serif;
Expand Down
Loading

0 comments on commit 12c5d12

Please sign in to comment.