Commit 79a6ea65 authored by MartinFIT's avatar MartinFIT

Text - Implementation/Spring & SpringBoot chapter, fixed hyphens, Apendix

parent 340687bb
...@@ -829,6 +829,7 @@ ...@@ -829,6 +829,7 @@
\usepackage{multirow} \usepackage{multirow}
\usepackage{tabularx} \usepackage{tabularx}
\usepackage{ragged2e} \usepackage{ragged2e}
\usepackage{multicol}
\usepackage{url} \usepackage{url}
\DeclareUrlCommand\url{\def\UrlLeft{<}\def\UrlRight{>} \urlstyle{tt}} \DeclareUrlCommand\url{\def\UrlLeft{<}\def\UrlRight{>} \urlstyle{tt}}
\def\UrlBreaks{\do\/\do-} \def\UrlBreaks{\do\/\do-}
...@@ -841,6 +842,28 @@ ...@@ -841,6 +842,28 @@
\usepackage{ae} \usepackage{ae}
\fi \fi
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{
language=Java,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=3
}
%-------------------------------------------------------- %--------------------------------------------------------
% Oprava pro Čechy a Slováky -- vyžaduje aktuální balíčky! % Oprava pro Čechy a Slováky -- vyžaduje aktuální balíčky!
% Fix for CZECH and SLOVAK -- needs up to date packages! % Fix for CZECH and SLOVAK -- needs up to date packages!
......
This diff is collapsed.
...@@ -409,4 +409,11 @@ ...@@ -409,4 +409,11 @@
note = "[Online; navštíveno 05.04.2018]" note = "[Online; navštíveno 05.04.2018]"
} }
@MISC{whySpringBoot,
author = "Siva Prasad Reddy Katamreddy",
title = "{\it Why Spring Boot?}",
url = "https://dzone.com/articles/why-springboot",
note = "[Online; navštíveno 08.04.2018]"
}
\ No newline at end of file
...@@ -7,7 +7,89 @@ ...@@ -7,7 +7,89 @@
%\chapter{Manuál} %\chapter{Manuál}
%\chapter{Konfigurační soubor} % Configuration file \chapter{Konfigurace} \label{configuration}
\section{Systém distribuovaného úložiště}
Konfigurace aplikace DistributedRepository se nachází v souboru \\ \texttt{DistributedRepository/src/main/resources/application.properties} \\
a obsahuje tyto položky:
\vspace{0.5cm}
\noindent \texttt{\# Cassandra \\
spring.data.cassandra.keyspace-name=structured\_data \\
spring.data.cassandra.contact-points=192.168.99.100 \\
spring.data.cassandra.port=9042 \\
\# Hadoop \\
spring.hadoop.fs-uri=hdfs://172.17.0.4:9000 \\
\# Kafka \\
spring.kafka.bootstrap-servers=192.168.99.100:9092 \\
spring.kafka.consumer.auto-commit-interval=1000 \\
spring.kafka.consumer.enable-auto-commit=true \\
spring.kafka.consumer.group-id=test \\
spring.kafka.consumer.key-deserializer= \\
\indent cz.vutbr.fit.communication.serialization.KafkaRequestDeserializer \\
spring.kafka.consumer.value-deserializer= \\
\indent org.apache.kafka.common.serialization.ByteArrayDeserializer \\
spring.kafka.producer.acks=all \\
spring.kafka.producer.batch-size=16384 \\
spring.kafka.producer.bootstrap-servers=192.168.99.100:9092 \\
spring.kafka.producer.buffer-memory=335544320 \\
spring.kafka.producer.key-serializer= \\
\indent cz.vutbr.fit.communication.serialization.KafkaResponseSerializer \\
spring.kafka.producer.properties.max.request.size=500000000 \\
spring.kafka.producer.retries=0 \\
spring.kafka.producer.value-serializer= \\
\indent org.apache.kafka.common.serialization.ByteArraySerializer \\
input.topic=input\_topic \\
output.topic=output\_topic \\
error.topic=error\_topic \\
\# Logging \\
logging.level.cz.vutbr.fit=DEBUG \\
logging.level.org.pcap4j.core=INFO \\
\# MongoDB \\
spring.data.mongodb.host=192.168.99.100 \\
spring.data.mongodb.port=27017 \\
spring.data.mongodb.database=metadata \\
\# StorePcapHandler \\
packet.metadata.max.list.size=500 \\
tmp.directory=tmp/
}
\section{Klientská aplikace}
Konfigurace aplikace ProducerDemo se nachází v souboru \\
\texttt{ProducerDemo/src/main/resources/application.properties} \\
a obsahuje tyto položky:
\vspace{0.5cm}
\noindent \texttt{\# Hadoop \\
spring.hadoop.fs-uri=hdfs://172.17.0.4:9000 \\
\# Kafka \\
spring.kafka.bootstrap-servers=192.168.99.100:9092 \\
spring.kafka.consumer.auto-commit-interval=1000 \\
spring.kafka.consumer.enable-auto-commit=true \\
spring.kafka.consumer.group-id=test \\
spring.kafka.consumer.key-deserializer= \\
\indent cz.vutbr.fit.communication.serialization.KafkaResponseDeserializer \\
spring.kafka.consumer.value-deserializer= \\
\indent org.apache.kafka.common.serialization.ByteArrayDeserializer \\
spring.kafka.producer.acks=all \\
spring.kafka.producer.batch-size=16384 \\
spring.kafka.producer.bootstrap-servers=192.168.99.100:9092 \\
spring.kafka.producer.buffer-memory=335544320 \\
spring.kafka.producer.key-serializer= \\
\indent cz.vutbr.fit.communication.serialization.KafkaRequestSerializer \\
spring.kafka.producer.properties.max.request.size=500000000 \\
spring.kafka.producer.retries=0 \\
spring.kafka.producer.value-serializer= \\
\indent org.apache.kafka.common.serialization.ByteArraySerializer \\
input.topic=input\_topic \\
output.topic=output\_topic \\
error.topic=error\_topic \\
\# Logging \\
logging.level.cz.vutbr.fit=DEBUG \\
\# StorePcapProducerDemo \\
cz.vutbr.fit.producerdemo.demo.StorePcapProducerDemo.dataSourceStorage=HDFS \\
\# LoadPcapProducerDemo \\
cz.vutbr.fit.producerdemo.demo.LoadPcapProducerDemo.dataSourceStorage=HDFS
}
%\chapter{RelaxNG Schéma konfiguračního souboru} % Scheme of RelaxNG configuration file %\chapter{RelaxNG Schéma konfiguračního souboru} % Scheme of RelaxNG configuration file
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment