Skip to content

Commit

Permalink
Add ASF headers to Markdown documentation files (apache#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
massakam authored and merlimat committed Oct 17, 2017
1 parent e92c54a commit 9e3f390
Show file tree
Hide file tree
Showing 126 changed files with 2,586 additions and 11 deletions.
Binary file added .gitignore.swp
Binary file not shown.
20 changes: 20 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

#### Initial contributors

Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

![logo](site/img/pulsar.png)

Pulsar is a distributed pub-sub messaging platform with a very
Expand Down
19 changes: 19 additions & 0 deletions build/docker/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

This folder contains a Docker image that can used to compile the Pulsar C++ client library
and website in a reproducible environment.
Expand Down
20 changes: 20 additions & 0 deletions dashboard/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

# Pulsar Dashboard

Expand Down
20 changes: 20 additions & 0 deletions kubernetes/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

This directory contains the Kubernetes services definitions for all
the components required to do a complete Pulsar deployment.
Expand Down
31 changes: 26 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,10 @@ flexible messaging model and an intuitive client API.</description>
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
<exclude>**/*.txt</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.pem</exclude>
<exclude>**/*.crt</exclude>
<exclude>**/*.key</exclude>
<exclude>**/*.csr</exclude>
<exclude>**/proto/*.java</exclude>
<exclude>bin/proto/*</exclude>
<exclude>**/*.patch</exclude>
Expand All @@ -635,18 +638,27 @@ flexible messaging model and an intuitive client API.</description>
<exclude>site/vendor/**</exclude>
<exclude>site/scripts/doxygen/**</exclude>
<exclude>site/api/**</exclude>
<exclude>site/api/**</exclude>
<exclude>site/.sass-cache/**</exclude>
<exclude>site/generated/**</exclude>
<exclude>site/js/jquery.tocify.min.js</exclude>
<exclude>site/js/jquery.scrollTo.min.js</exclude>
<exclude>site/Gemfile.lock</exclude>
<exclude>site/VERSIONS</exclude>
<exclude>site/_sass/bootstrap-sass/**</exclude>
<exclude>site/_sass/font-awesome/**</exclude>
<exclude>site/fonts/**</exclude>
<exclude>site/img/**</exclude>
<exclude>generated-site/**</exclude>
<exclude>.github/*.md</exclude>
</excludes>
<mapping>
<proto>JAVADOC_STYLE</proto>
<conf>SCRIPT_STYLE</conf>
<ini>SCRIPT_STYLE</ini>
<yaml>SCRIPT_STYLE</yaml>
<cc>JAVADOC_STYLE</cc>
<md>XML_STYLE</md>
<scss>JAVADOC_STYLE</scss>
</mapping>
</configuration>
</plugin>
Expand Down Expand Up @@ -682,11 +694,20 @@ flexible messaging model and an intuitive client API.</description>
<exclude>licenses/LICENSE-*.txt</exclude>
<exclude>src/assemble/README.bin.txt</exclude>

<!-- Exclude site since it's not released -->
<exclude>**/site/**</exclude>
<!-- Exclude site files -->
<exclude>site/Gemfile.lock</exclude>
<exclude>site/VERSIONS</exclude>
<exclude>site/_sass/bootstrap-sass/**</exclude>
<exclude>site/_sass/font-awesome/**</exclude>
<exclude>site/.sass-cache/**</exclude>
<exclude>site/fonts/**</exclude>
<exclude>site/img/**</exclude>
<exclude>site/js/jquery.scrollTo.min.js</exclude>
<exclude>site/js/jquery.tocify.min.js</exclude>
<exclude>generated-site/**</exclude>

<exclude>**/*.patch</exclude>
<exclude>**/*.md</exclude>
<exclude>.github/*.md</exclude>

<exclude>src/assemble/LICENSE.bin.txt</exclude>
<exclude>src/assemble/NOTICE.bin.txt</exclude>
Expand Down
20 changes: 20 additions & 0 deletions protobuf/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

## Protocol Buffer code generation

Expand Down
20 changes: 20 additions & 0 deletions pulsar-client-cpp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

# Pulsar C++ client library
<!-- TOC depthFrom:2 depthTo:3 withLinks:1 updateOnSave:1 orderedList:0 -->
Expand Down
21 changes: 21 additions & 0 deletions pulsar-client-cpp/docs/MainPage.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

# The Pulsar C++ client

Welcome to the Doxygen documentation for [Pulsar](https://pulsar.incubator.apache.org/).
Expand Down
21 changes: 21 additions & 0 deletions pulsar-discovery-service/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

# Discovery service

It keeps list of active available brokers and redirects all incoming requests to one of the broker in round-robin manner.
Expand Down
19 changes: 19 additions & 0 deletions site/Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#

source 'https://rubygems.org'
ruby '2.4.1'

Expand Down
21 changes: 21 additions & 0 deletions site/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

# The Pulsar website and documentation

This `README` is basically the meta-documentation for the Pulsar website and documentation. Here you'll find instructions on running the site locally
Expand Down
21 changes: 21 additions & 0 deletions site/_includes/explanations/admin-setup.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

Each of Pulsar's three admin interfaces---the [`pulsar-admin`](../../reference/CliTools#pulsar-admin) CLI tool, the [Java admin API](/api/admin), and the [REST API](../../reference/RestApi)---requires some special setup if you have [authentication](../../admin/Authz#authentication-providers) enabled in your Pulsar {% popover instance %}.

### pulsar-admin
Expand Down
23 changes: 22 additions & 1 deletion site/_includes/explanations/client-url.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->

To connect to Pulsar using client libraries, you need to specify a [Pulsar protocol](../../project/BinaryProtocol) URL.

Pulsar protocol URLs are assigned to specific {% popover clusters %}, use the `pulsar` scheme and have a default port of 6650. Here's an example for `localhost`:
Expand Down Expand Up @@ -30,4 +51,4 @@ If the topic is global, however, the URL for the topic will look like this:

{% include topic.html p="property" c="global" n="namespace" t="topic" %}

In that case, your client can use the broker service URL for *any* cluster in the {% popover instance %} and Pulsar's internal service discovery system will handle the rest.
In that case, your client can use the broker service URL for *any* cluster in the {% popover instance %} and Pulsar's internal service discovery system will handle the rest.
Loading

0 comments on commit 9e3f390

Please sign in to comment.