Skip to content
Permalink
Browse files
Merge pull request #10 from xiaoyang-sde/master
Setup Events and Community page
  • Loading branch information
qqeasonchen committed Aug 5, 2021
2 parents 573bfe2 + 9a73f86 commit 1eb1cce3f52efe161a15d40a936d4f6ff4c98adb
Showing 16 changed files with 934 additions and 63 deletions.

Large diffs are not rendered by default.

@@ -1,35 +1 @@
---
sidebar_position: 1
---

# Tutorial Intro

Let's discover **Docusaurus in less than 5 minutes**.

## Getting Started

Get started by **creating a new site**.

Or **try Docusaurus immediately** with **[new.docusaurus.io](https://new.docusaurus.io)**.

## Generate a new site

Generate a new Docusaurus site using the **classic template**:

```shell
npx @docusaurus/init@latest init my-website classic
```

## Start your site

Run the development server:

```shell
cd my-website
npx docusaurus start
```

Your site starts at `http://localhost:3000`.

Open `docs/intro.md` and edit some lines: the site **reloads automatically** and display your changes.
# Apache EventMesh (Incubating)
@@ -1,6 +1,22 @@
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

// Reverse the sidebar items ordering (including nested category items)
const reverseSidebarItems = (items) => {
const result = items.map((item) => {
if (item.type === 'category') {
return {
...item,
items: reverseSidebarItems(item.items),
};
}
return item;
});

result.reverse();
return result;
};

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Apache EventMesh',
@@ -27,22 +43,31 @@ module.exports = {
src: 'img/logo.png',
},
items: [
{
type: 'doc',
docId: 'intro',
position: 'left',
label: 'Docs',
},
{
to: '/blog',
label: 'Blog',
position: 'left',
},
// {
// type: 'doc',
// docId: 'intro',
// position: 'left',
// label: 'Docs',
// },
// {
// to: '/contribute',
// label: 'Contribute',
// position: 'left',
// },
{
type: 'doc',
docsPluginId: 'events',
docId: 'release-notes/v1.2.0',
position: 'left',
label: 'Events',
},
{
type: 'doc',
docsPluginId: 'community',
docId: 'apache-release',
position: 'left',
label: 'Community',
},
// {
// type: 'localeDropdown',
// position: 'left',
@@ -55,14 +80,14 @@ module.exports = {
{
title: 'EventMesh',
items: [
// {
// label: 'Documentation',
// to: '/docs',
// },
// {
// label: 'Contribute',
// to: '/contribute',
// },
{
label: 'Documentation',
to: '/docs',
},
{
label: 'Events',
to: '/events',
},
{
label: 'Releases',
href: 'https://github.com/apache/incubator-eventmesh/releases',
@@ -129,17 +154,44 @@ module.exports = {
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/facebook/docusaurus/edit/master/',
sidebarPath: require.resolve('./sidebars/docs.js'),
editUrl: 'https://github.com/apache/incubator-eventmesh-site/edit/master/',
},
blog: {
showReadingTime: true,
editUrl: 'https://github.com/facebook/docusaurus/edit/master/blog/',
editUrl: 'https://github.com/apache/incubator-eventmesh-site/edit/master/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'events',
path: 'events',
routeBasePath: 'events',
sidebarPath: require.resolve('./sidebars/events.js'),
async sidebarItemsGenerator({
defaultSidebarItemsGenerator,
...args
}) {
const sidebarItems = await defaultSidebarItemsGenerator(args);
return reverseSidebarItems(sidebarItems);
},
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'community',
path: 'community',
routeBasePath: 'community',
sidebarPath: require.resolve('./sidebars/community.js'),
},
],
],
};
@@ -0,0 +1,3 @@
{
"label": "Release Notes"
}
@@ -0,0 +1,29 @@
---
title: v1.0.0 Release
date: 2020-08-20T11:14:52+00:00
hide_table_of_contents: false
author: iNanos
author_url: https://github.com/iNanos
author_image_url: https://avatars.githubusercontent.com/u/1085564
---

## Features

- Support publish/subscribe Event.
- Support multicast/broadcast/cluster mode.
- Support flow control.
- Support retry Event.
- Support batch Event.
- Support tag Event.
- Support HTTP and TCP.
- Support DeFiBus as EventStore.

## Improvements

- [issue-97](https://github.com/WeBankFinTech/EventMesh/issues/97), get current process id only once , reduce timecost, ThreadUtil.getPID()
- [issue-100](https://github.com/WeBankFinTech/EventMesh/issues/100), fix proxy.properties
- [issue-108](https://github.com/WeBankFinTech/EventMesh/issues/108), upgrade libs for security leak
- [issue-116](https://github.com/WeBankFinTech/EventMesh/issues/116), reduce timecost, get local ip only once, getLocalAddr()
- [issue-120](https://github.com/WeBankFinTech/EventMesh/issues/120), fix ack problem
- [issue-128](https://github.com/WeBankFinTech/EventMesh/issues/128), improve start and stop script
- [issue-139](https://github.com/WeBankFinTech/EventMesh/issues/139), add locks in hello request, many clients in the same group frequently go online and offline, trigger concurrently bug establishing links bug
@@ -0,0 +1,19 @@
---
title: v1.1.0 Release
date: 2020-09-16T11:14:52+00:00
hide_table_of_contents: false
author: iNanos
author_url: https://github.com/iNanos
author_image_url: https://avatars.githubusercontent.com/u/1085564
---

## Features

- Support RocketMQ as EventStore.

## Improvements

- [issue-145](https://github.com/WeBankFinTech/EventMesh/issues/145), add LICENSE
- [issue-153](https://github.com/WeBankFinTech/EventMesh/issues/153), remove configcenter dependency, config the namesrv list in props
- [issue-154](https://github.com/WeBankFinTech/EventMesh/issues/154), format shell as unix format
- [issue-161](https://github.com/WeBankFinTech/EventMesh/issues/161), restore the consumer's threading model
@@ -0,0 +1,18 @@
---
title: v1.1.1 Release
date: 2020-11-11T11:14:52+00:00
hide_table_of_contents: false
author: lrhkobe
author_url: https://github.com/lrhkobe
author_image_url: https://avatars.githubusercontent.com/u/34571087
---

## Features

- Support HTTPS.

## Improvements

- [issue-63](https://github.com/WeBankFinTech/EventMesh/issues/63), eventmesh doc has been supplemented and improved
- [issue-75](https://github.com/WeBankFinTech/EventMesh/issues/75), delete some duplicate import packages
- [issue-165](https://github.com/WeBankFinTech/EventMesh/issues/165), support HTTPS
@@ -0,0 +1,50 @@
---
title: v1.2.0 Release
date: 2021-08-01T11:14:52+00:00
hide_table_of_contents: false
author: xmw1992
author_url: https://github.com/xwm1992
author_image_url: https://avatars.githubusercontent.com/u/13237619
---

## Feature

- [ISSUE #74](https://github.com/apache/incubator-eventmesh/issues/74) Suggest support rocketmq as store
- [ISSUE #176](https://github.com/apache/incubator-eventmesh/issues/176) Support Spi for extended implementation to accommodate a variety of MQ
- [ISSUE #190](https://github.com/apache/incubator-eventmesh/issues/190) Support pub/sub ,heartbeat manage and subscribe manage for http
- [ISSUE #201](https://github.com/apache/incubator-eventmesh/issues/201) Support running eventmesh in docker

## Improvement

- [ISSUE #391](https://github.com/apache/incubator-eventmesh/issues/391) Optimize interface design in eventmesh-connector-api
- [ISSUE #378](https://github.com/apache/incubator-eventmesh/issues/378) downstream broadcast msg asynchronously
- [ISSUE #186](https://github.com/apache/incubator-eventmesh/issues/186) Separate the eventmesh-connector-defibus and eventmesh-connector-rocketmq config from eventmesh-runtime
- [ISSUE #366](https://github.com/apache/incubator-eventmesh/issues/366) Clear some legacy concept
- [ISSUE #256](https://github.com/apache/incubator-eventmesh/issues/256) Upgrade Openmessaging-api to 2.2.1-pubsub version

## Bug

- [ISSUE #397](https://github.com/apache/incubator-eventmesh/issues/397) Remove subscription session failed error
- [ISSUE #386](https://github.com/apache/incubator-eventmesh/issues/386) ConsumerGroup Queue Offset is not synced up correctly after PullConsumer has consumer all the messages in the topic
- [ISSUE #382](https://github.com/apache/incubator-eventmesh/issues/382) java.lang.NumberFormatException when parsing Long
- [ISSUE #368](https://github.com/apache/incubator-eventmesh/issues/368) Racing Condition problem in EventMesh SDK's LiteConsumer HTTP Client
- [ISSUE #211](https://github.com/apache/incubator-eventmesh/issues/211) Rocketmq-connector throw nullpointer exception
- [ISSUE #203](https://github.com/apache/incubator-eventmesh/issues/203) The consumer pull request message's attribute 'bizSeqNo' is null
- [ISSUE #212](https://github.com/apache/incubator-eventmesh/issues/212) For multiple listening instances, only the last started instance can receive messages
- [ISSUE #216](https://github.com/apache/incubator-eventmesh/issues/216) EventMesh ProxyTcpRetryer throws NumberFormatException
- [ISSUE #226](https://github.com/apache/incubator-eventmesh/issues/226) eventMesh-rocketmq-connector tcp pub throw operation time out exception
- [ISSUE #188](https://github.com/apache/incubator-eventmesh/issues/188) Test send sync RR(request-response) msg failed, just send one message, but receive msgs continuously
- [ISSUE #184](https://github.com/apache/incubator-eventmesh/issues/184) Eventmesh-connector-rocketmq can not send and receive msg successfully
- [ISSUE #220](https://github.com/apache/incubator-eventmesh/issues/220) pub/sub client fails to start
- [ISSUE #222](https://github.com/apache/incubator-eventmesh/issues/222) When onChange is NEW, eventMesh occurred NullPointException

## Document and code style improvement

- [ISSUE #393](https://github.com/apache/incubator-eventmesh/issues/393) The topic name in test file is long and obscure
- [ISSUE #302](https://github.com/apache/incubator-eventmesh/issues/302) Add "Incubating" to the project name in docs
- [ISSUE #306](https://github.com/apache/incubator-eventmesh/issues/306) Modify the package name to org.apache and improve the test cases
- [ISSUE #304](https://github.com/apache/incubator-eventmesh/issues/304) Lack Notice file of eventmesh project
- [ISSUE #295](https://github.com/apache/incubator-eventmesh/issues/295) Lack of licenses in each source file under the eventmesh-runtime module
- [ISSUE #265](https://github.com/apache/incubator-eventmesh/issues/265) Specification of code structure and file naming
- [ISSUE #219](https://github.com/apache/incubator-eventmesh/issues/219) Supply detail information or read.me for eventmesh running in docker
- [ISSUE #242](https://github.com/apache/incubator-eventmesh/issues/242) Lack protocol document in English
@@ -0,0 +1,16 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/

module.exports = {
tutorialSidebar: [{
type: 'autogenerated', dirName: '.',
}],
};
File renamed without changes.
@@ -0,0 +1,16 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/

module.exports = {
tutorialSidebar: [{
type: 'autogenerated', dirName: '.',
}],
};
@@ -29,7 +29,9 @@
}

.heroImage {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}

@media screen and (max-width: 966px) {
@@ -3,7 +3,7 @@ import clsx from 'clsx';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import styles from './Hero.module.css';
import ServerClusterImg from '../../static/img/undraw-server-cluster.svg';
import EventMeshImg from '../../static/img/eventmesh.png';

const Hero = (): JSX.Element => {
const { siteConfig } = useDocusaurusContext();
@@ -42,9 +42,10 @@ const Hero = (): JSX.Element => {
</div>

<div className={clsx('col col--6', styles.heroImage)}>
<div>
<ServerClusterImg height="300px" width="100%" />
</div>
<img
src={EventMeshImg}
alt="EventMesh"
/>
</div>
</div>
</div>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Deleted file not rendered
Deleted file not rendered

0 comments on commit 1eb1cce

Please sign in to comment.