Skip to content

Commit

Permalink
Update remote urls: snappy, https, etc
Browse files Browse the repository at this point in the history
Snappy URL was outdated. Similarly, many of these sites now support
https.
  • Loading branch information
jeffwidman committed Oct 22, 2018
1 parent 477ab74 commit a6be21e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion benchmarks/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The `record_batch_*` benchmarks in this section are written using
``perf`` library, created by Viktor Stinner. For more information on how to get
reliable results of test runs please consult
http://perf.readthedocs.io/en/latest/run_benchmark.html.
https://perf.readthedocs.io/en/latest/run_benchmark.html.
8 changes: 4 additions & 4 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Optional Snappy install
Install Development Libraries
=============================

Download and build Snappy from http://code.google.com/p/snappy/downloads/list
Download and build Snappy from https://google.github.io/snappy/

Ubuntu:

Expand All @@ -55,9 +55,9 @@ From Source:

.. code:: bash
wget http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz
tar xzvf snappy-1.0.5.tar.gz
cd snappy-1.0.5
wget https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz
tar xzvf snappy-1.1.3.tar.gz
cd snappy-1.1.3
./configure
make
sudo make install
Expand Down
4 changes: 2 additions & 2 deletions kafka/producer/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class KafkaProducer(object):
'retries' is configured to 0. Enabling retries also opens up the
possibility of duplicates (see the documentation on message
delivery semantics for details:
http://kafka.apache.org/documentation.html#semantics
https://kafka.apache.org/documentation.html#semantics
).
The producer maintains buffers of unsent records for each partition. These
Expand Down Expand Up @@ -522,7 +522,7 @@ def send(self, topic, value=None, key=None, headers=None, partition=None, timest
serializable to bytes via configured value_serializer. If value
is None, key is required and message acts as a 'delete'.
See kafka compaction documentation for more details:
http://kafka.apache.org/documentation.html#compaction
https://kafka.apache.org/documentation.html#compaction
(compaction requires kafka >= 0.8.1)
partition (int, optional): optionally specify a partition. If not
set, the partition will be selected using the configured
Expand Down
4 changes: 2 additions & 2 deletions kafka/record/_crc32c.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
# limitations under the License.
#
"""Implementation of CRC-32C checksumming as in rfc3720 section B.4.
See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for details on CRC-32C
See https://en.wikipedia.org/wiki/Cyclic_redundancy_check for details on CRC-32C
This code is a manual python translation of c code generated by
pycrc 0.7.1 (http://www.tty1.net/pycrc/). Command line used:
pycrc 0.7.1 (https://pycrc.org/). Command line used:
'./pycrc.py --model=crc-32c --generate c --algorithm=table-driven'
"""

Expand Down
2 changes: 1 addition & 1 deletion kafka/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __del__(self):
class WeakMethod(object):
"""
Callable that weakly references a method and the object it is bound to. It
is based on http://stackoverflow.com/a/24287465.
is based on https://stackoverflow.com/a/24287465.
Arguments:
Expand Down

0 comments on commit a6be21e

Please sign in to comment.